Which statement correctly describes this rule?
Examine the line from /etc/rsyslog.conf:Mail.*-/var/log/maillogWhich statement correctly describes this rule?You may prefix each entry with the minus Ҡsign to omit syncing the file after every logging. Note that you might lose information if the system crashes right behind a write attempt. Nevertheless this might give you back some performance, especially if you run programs that use logging in a very verbose manner.
Question:
Which statement correctly describes this rule?
Options:
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.
The file name prefix of “-†is a way of disabling mail log messages under certain conditions to /var/log/maillog.
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.
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.
Correct Answer
The Correct Answer for this Question is
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.