sameersbn/docker-redmine

Add an option to send logs to STDOUT

Open

#383 opened on Feb 18, 2019

View on GitHub
 (3 comments) (0 reactions) (1 assignee)Shell (494 forks)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (1,326 stars)
PR merge metrics
 (PR metrics pending)

Description

When using docker with a container orchestrator (kubernetes, in my case), most logging infrastructures will expect your containers to send their logs through STDOUT/STDERR.

In this image, we miss most interesting logs (typically, access logs) because they go directly to files. Moreover, the location where they go is a volume, which makes it way harder to symlink the logfiles to another location (such as /dev/stdout or /proc/1/fd/1).

It would be really convenient to have an environment variable that would allow all logs to be sent to STDOUT.

Contributor guide