Re: rsyslog.conf - why the "-" in this entry? mail.* -/var/log/maillog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux