Benny Pedersen: > santosh malavade skrev den 2012-12-28 05:59: > > > smtp 25 > > submission 587 > > in master.cf set -o syslog_name=foo for the 2 services > > then in syslog its possible to split them to 2 seperate files if wanted
With vanilla syslog daemons, splitting the files might be easier by setting "-o syslog_facility=local1" or something similar in master.cf, and having a rule "local1.* /path/to/file" in syslog.conf. You MAY have to create the new logfile by hand, and you WILL have to update the logfile rotation procedure. Wietse