The problem of log about docker running mendix image

1
When I use docker to run the mendix image, the log file path inside the container is / opt / mendix / build / log / out.log, There is no content in this file. The query finds that it is a pipeline file. I want to know which path the mendix runs in the container. If it is / opt / mendix / build / log / out.log, how can I get the content of the log file? Because I want to output it to other log collection systems through this log file. The reality is that there is no content in this fileWhen I use docker to run the mendix image, the log file path inside the container is / opt / mendix / build / log / out.log, There is no content in this file.    
asked
1 answers
0

That out.log is a special file of type pipe. It gets emptied/read continuously and it outputs to STDOUT. 

 

If you want your logs shipped elsewhere you have a few options:

 

- create a log handler and capture logs inside of your app. You can send them wherever you want using java.

- use instrumentation agents like datadog

- best way is to call your container/infra platform team that your logs from your container must be captured and made available to you.

 

answered