Skip to content
Snippets Groups Projects
50-ldap-remote.conf.erb 380 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" 
          Target="<%= syslog_server %>" 
          Port="10514" 
          Protocol="tcp"
          template="ForwardFormat")
   stop
}