Closed gschimon closed 3 years ago
I think you better deal with this on the host, not inside the container, e.g.: https://docs.docker.com/config/containers/logging/configure/
someone also came up with a rsyslog solution: https://www.simulmedia.com/blog/2016/02/19/centralized-docker-logging-with-rsyslog/
You are right. That is probably the better solution. Thanks!
Would be nice to have the possibility to write a logfile to a volume that is accessible from the host system. Can be in "custom_files" or maybe even better in an extra volume mount (e.g. "log_files")
Could be implemented with rsyslog inside the container.