Skip to content
Snippets Groups Projects
50-ldap-remote.conf.erb 762 B
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"
          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.LowWaterMark="10000"
          queue.MaxDiskSpace="2g"
          queue.WorkerThreads="10"
          queue.TimeoutEnqueue="120000"
          action.ResumeRetryCount="-1"