Blake Crosby writes:
At 01:46 AM 2001/10/10 +0000, Sam Varshavchik wrote:
Blake Crosby writes:
At 12:37 AM 2001/10/10 +0000, Sam Varshavchik wrote:
I have been trying a few different entries in syslogd.conf and I still
can't get it to log to a different file. Do you have an example of what
an entry in syslog.conf should look like?
mail.* /var/log/maillog
Wont that move all mail loging messages, including ones from postfix, to
the new file?
Yes.
What I want to do is have postfix loging to one file, and
courier logging to another.
Can't do it with the standard syslog, which has only a limited number of
generic log system facilities, and cannot distinguish between different
applications in the same log facility. See the syslog man page for more
information.
I've seen some replacement syslogs that can use regular expressions to
filter different messages into different log files. Try those.