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

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



On 06/05/2012 07:30 AM, James B. Byrne wrote:
> In dealing with an unrelated issue I came across this in rsyslog.conf.
> [...]
> Why is there a "-" before /var/log/maillog?
[...]

A leading '-' indicates the the log is written asynchronously. It is a 
performance tune to keep writing the syslog from thrashing the system 
with syncs. See http://www.rsyslog.com/doc/rsyslog_conf_actions.html

-- 
Benjamin Franz
_______________________________________________
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