You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
When I try to use syslog as a log driver, Docker sends all messages logged inside the container as INFO. Therefore I cannot catch errors/warnings in syslog coming from docker containers. Logs forwarded to stderr should be treated as errors and sent to syslog as ERROR priority so they can be caught by monitoring tools.
Description
Hello,
When I try to use syslog as a log driver, Docker sends all messages logged inside the container as INFO. Therefore I cannot catch errors/warnings in syslog coming from docker containers. Logs forwarded to stderr should be treated as errors and sent to syslog as ERROR priority so they can be caught by monitoring tools.
Reproduce
docker run --rm -ti --name test-log --log-driver syslog --log-opt syslog-facility=daemon --log-opt tag=docker --log-opt syslog-address=unixgram:///dev/log debian bash -c 'echo "stderrDOCKER" > /dev/stderr'
Expected behavior
No response
docker version
docker info
Additional Info
No response
The text was updated successfully, but these errors were encountered: