Skip to content

Instantly share code, notes, and snippets.

@dch
Created September 18, 2017 18:00
Show Gist options
  • Save dch/d6761cab82e577369bf497ba041bc31f to your computer and use it in GitHub Desktop.
Save dch/d6761cab82e577369bf497ba041bc31f to your computer and use it in GitHub Desktop.
how to debug rsyslog

debugging rsyslog

export RSYSLOG_DEBUG=NoStdOut
export RSYSLOG_DEBUGLOG=/var/log/rsyslog/debug.log
/usr/local/sbin/rsyslogd -i /var/run/syslog.pid -f /usr/local/etc/rsyslog.conf -dn
tee -a /var/log/rsyslog/debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment