Rsyslog provides a number of debug aids. Some of them are activated by adding the --enable-rtinst ./configure option ("rtinst" means runtime instrumentation). Turning debugging on obviously costs some performance (in some cases considerable).
This is document is just being created and thus terse.
Signals supported
SIGUSR1 - turns debug messages on and off (expect this signal to go away over time)
SIGUSR2 - outputs debug information (including active threads and a call stack) for the state when SIGUSR2 was received. This is a one-time output. Can be sent as often as the user likes.
Environment Variables
Environment variables set several debug settings. This is intended to become the primary way to configure debugging support. Currently are defined:
This documentation is part of the
rsyslog
project.
Copyright © 2008 by Rainer
Gerhards and
Adiscon.
Released under the GNU GPL version 3 or higher.