You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
841 B
24 lines
841 B
5 years ago
|
$ModLoad imuxsock
|
||
|
$ModLoad imjournal
|
||
|
$OmitLocalLogging on
|
||
|
$IMJournalStateFile imjournal.state
|
||
|
$WorkDirectory /var/lib/rsyslog
|
||
|
$ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat
|
||
|
{% if 'logger' in zcs_enabled_components %}
|
||
|
$ModLoad imudp
|
||
|
$UDPServerRun 514
|
||
|
local0.* -/var/log/zimbra.log
|
||
|
local1.* -/var/log/zimbra-stats.log
|
||
|
auth.* -/var/log/zimbra.log
|
||
|
mail.* -/var/log/zimbra.log
|
||
|
{% else %}
|
||
|
local0.* @{{ zcs_log_hostname }}
|
||
|
local1.* @{{ zcs_log_hostname }}
|
||
|
auth.* @{{ zcs_log_hostname }}
|
||
|
local0.* -/var/log/zimbra.log
|
||
|
local1.* -/var/log/zimbra-stats.log
|
||
|
auth.* -/var/log/zimbra.log
|
||
|
mail.* @{{ zcs_log_hostname }}
|
||
|
mail.* -/var/log/zimbra.log
|
||
|
{% endif %}
|