From e06557a4cd02069579a8af060a461b88a676caab Mon Sep 17 00:00:00 2001
From: Rainer Gerhards
Date: Thu, 28 Feb 2008 13:25:43 +0000
Subject: implemented environment-settable debug options
---
doc/debug.html | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
(limited to 'doc')
diff --git a/doc/debug.html b/doc/debug.html
index ad53d94f..d4f00e53 100644
--- a/doc/debug.html
+++ b/doc/debug.html
@@ -1,8 +1,6 @@
-Debug Support
-
-
+Debug Support
Debug Support
@@ -19,14 +17,14 @@ to go away over time)
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:
-
-- RSYSLOG_DEBUGLOG="/path/to/debuglog/" - writes (allmost)
+
There are two environment variables that set several debug settings. The "RSYSLOG_DEBUGLOG" (sample: RSYSLOG_DEBUGLOG="/path/to/debuglog/")
+writes (allmost)
all debug message to the specified log file in addition to stdout. Some
system messages (e.g. segfault or abort message) are not written to the
-file as we can not capture them.
+file as we can not capture them. Runtime debug support is controlled by
+"RSYSLOG_DEBUG". It contains an option string with the following
+options possible (all are case insensitive):- LogFuncFlow - print out the logical flow of functions (entering and exiting them)
- PrintFuncDB - print the content of the debug function database whenever debug information is printed (e.g. abort case)!
- PrintAllDebugInfoOnExit - print all debug information immediately before rsyslogd exits (currently not implemented!)
- PrintMutexAction - print mutex action as it happens. Useful for finding deadlocks and such.
- NoLogTimeStamp - do not prefix log lines with a timestamp (default is to do that).
- NoStdOut - do not emit debug messages to stdout. If RSYSLOG_DEBUGLOG is not set, this means no messages will be displayed at all.
+
[manual index] [rsyslog site]
This documentation is part of the
--
cgit