I would prefer forcing services to use stdout and disable useless file-based logging.
Then it's possible to collect logs from containers for example this way: https://hekad.readthedocs.io/en/v0.10.0/config/inputs/docker_log.html
Anyway there's no need to have volume on /var/log and file-based logs when it's correctly dockerized.
I would prefer forcing services to use stdout and disable useless file-based logging.
Then it's possible to collect logs from containers for example this way: /hekad. readthedocs. io/en/v0. 10.0/config/ inputs/ docker_ log.html
https:/
Anyway there's no need to have volume on /var/log and file-based logs when it's correctly dockerized.