Logging in Docker

Hi, I am trying to see the logs from mayan-edms docker but can’t find where they are inside the container…
I saw the configuration and the logs shoud be in var/lib/mayan/error.logs but that file is nowhere to be found
I chequed the settings, and the debuger is in DEBUG mode

HI,

When a program is packaged for Docker, logs are not kept in the container, they are sent to stdout where the Docker daemon collects them and handles them according to the Docker logging driver enabled.

The default Docker logging driver is json-file and stores the logs in /var/lib/docker/containers/<container ID>/<container ID>-json.log on the host.

Thanks a lot! I was able to find it

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.