Page 1 of 1

Examine the line from /etc/rsyslog.conf:Mail.*-/var/log/maillog -Which statement correctly describes this rule?

Posted: Sun Jun 11, 2023 3:55 pm
by answerhappygod
Examine the line from /etc/rsyslog.conf:Mail.*-/var/log/maillog -Which statement correctly describes this rule?

A. The rule name prefix of - is tolerated for syslog and syslog.sys compatibility with no impact or rsyslog behavior regardless of the global directive settings.
B. The file name prefix of - is a way of disabling mail log messages under certain conditions to /var/log/maillog.
C. The filename prefix of - is a performance enhancement. It stops file syncing on every message. The log certain will be the same whether a minus prefix is used or not.
D. The file name prefix of - forces file syncing after every message is logged to ensure each message is written to disk force before attempting to write a subsequent message to the same file.