Newer
Older
# Write syslog messges to a local file and forward them to the central
# syslog server.
if $syslogfacility-text == 'local4' then {
action(type = "omfile"
name = "ldapLocal"
file = "/var/log/ldap"
template = "FileFormat")
action(type = "omfwd"
name = "ldapRemote"
Target = "<%= syslog_server %>"
Port = "10514"
Protocol = "tcp"
queue.Type = "LinkedList"
queue.FileName = "ldapRemote"
queue.size = "4000000"
queue.HighWaterMark = "3000000"
queue.LowWaterMark = "10000"
queue.WorkerThreads = "10"
queue.TimeoutEnqueue = "0"
queue.MaxDiskSpace = "2g"
action.ResumeRetryCount = "-1"
template = "ForwardFormat")