We need to expose Mendix logs on a webservice/request handler for quicker faultfinding and bugfixing purposes.
Is there something in the runtime API that will tell me where the logfiles are located (or atleast m2ee.yaml for getting the paths from there)?
There is a module in the appstore where you get your logs into your app. See appstore here: https://appstore.home.mendix.com/link/app/159/CAPE-Groep-B.V./Logging-Module
You could check how they got them or get them into your app and expose a REST or SOAP.