Docker Community Forums

Share and learn in the Docker community.

Docker logs management syslog

Hi

I want to manage the logs my containers and found syslog option to redirect the logs to host. I am able to redirect the logs to host in particular file. like … but I want to logs the different different log for the different different activility like. auth ,sysloag,mail etc files log redirect to particularly to that file only in host system how I can achieve the same ???

/etc/rsyslog.d/10-default.conf
daemon.* {
/var/log/docker.log
stop
}