Blame SOURCES/rsyslog-7.2.2-manpage-dbg-mode.patch

dc8c44
diff -up rsyslog-7.2.2/tools/rsyslogd.8.orig rsyslog-7.2.2/tools/rsyslogd.8
dc8c44
--- rsyslog-7.2.2/tools/rsyslogd.8.orig	2012-11-20 16:31:26.530284950 +0100
dc8c44
+++ rsyslog-7.2.2/tools/rsyslogd.8	2012-11-20 16:31:34.172188889 +0100
dc8c44
@@ -131,11 +131,7 @@ syntax errors are reported. Please note 
dc8c44
 technical and orignally targeted towards developers.
dc8c44
 .TP
dc8c44
 .B "\-d"
dc8c44
-Turns on debug mode.  Using this the daemon will not proceed a 
dc8c44
-.BR fork (2)
dc8c44
-to set itself in the background, but opposite to that stay in the
dc8c44
-foreground and write much debug information on the current tty.  See the
dc8c44
-DEBUGGING section for more information.
dc8c44
+Turns on debug mode. See the DEBUGGING section for more information.
dc8c44
 .TP
dc8c44
 .BI "\-f " "config file"
dc8c44
 Specify an alternative configuration file instead of
dc8c44
@@ -294,11 +290,17 @@ be prevented by using GSS-API authentica
dc8c44
 to think about syslog network security before enabling it.
dc8c44
 .LP
dc8c44
 .SH DEBUGGING
dc8c44
-When debugging is turned on using
dc8c44
+When debugging is turned on using the
dc8c44
 .B "\-d"
dc8c44
-option then
dc8c44
+option,
dc8c44
 .B rsyslogd
dc8c44
-will be very verbose by writing much of what it does on stdout.
dc8c44
+produces debugging information according to the
dc8c44
+.B RSYSLOG_DEBUG
dc8c44
+environment variable and the signals received. When run in foreground,
dc8c44
+the information is written to stdout. An additional output file can be
dc8c44
+specified using the
dc8c44
+.B RSYSLOG_DEBUGLOG
dc8c44
+environment variable.
dc8c44
 .SH FILES
dc8c44
 .PD 0
dc8c44
 .TP
dc8c44
@@ -325,10 +327,17 @@ is specified during compilation (e.g. /u
dc8c44
 .SH ENVIRONMENT
dc8c44
 .TP
dc8c44
 .B RSYSLOG_DEBUG
dc8c44
-Controls runtime debug support.It contains an option string with the
dc8c44
+Controls runtime debug support. It contains an option string with the
dc8c44
 following options possible (all are case insensitive):
dc8c44
 
dc8c44
 .RS
dc8c44
+.IP Debug
dc8c44
+Turns on debugging and prevents forking. This is processed earlier
dc8c44
+in the startup than command line options (i.e. -d) and as such
dc8c44
+enables earlier debugging output. Mutually exclusive with DebugOnDemand.
dc8c44
+.IP DebugOnDemand
dc8c44
+Enables debugging but turns off debug output. The output can be toggled
dc8c44
+by sending SIGUSR1. Mutually exclusive with Debug.
dc8c44
 .IP LogFuncFlow
dc8c44
 Print out the logical flow of functions (entering and exiting them)
dc8c44
 .IP FileTrace