[CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
Philippe Naudin
philippe.naudin at supagro.inra.frTue Jun 5 15:00:05 UTC 2012
- Previous message: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
- Next message: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Le mar. 05 juin 2012 10:30:25 CEST, James B. Byrne a écrit: > In dealing with an unrelated issue I came across this in rsyslog.conf. > > # The authpriv file has restricted access. > authpriv.* /var/log/secure > # Log all the mail messages in one place. > mail.* -/var/log/maillog > # Log cron stuff > cron.* /var/log/cron > > Why is there a "-" before /var/log/maillog? This character is not > present before any of the other log files specified in > /etc/rsyslog.conf. It means that writing to this logfile is not followed by a sync. -- Philippe Naudin
- Previous message: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
- Next message: [CentOS] rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list