diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-20 18:41:04 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-11-20 18:41:04 +0100 |
commit | 5b55ab75e27861241981ae447ed3d1b8ad968deb (patch) | |
tree | 61e68ee2da0ea1bb728c3532a119a7f010af2a84 /runtime/debug.c | |
parent | dffcfa8699c41d9f64b7aee131a32661587ce441 (diff) | |
download | rsyslog-5b55ab75e27861241981ae447ed3d1b8ad968deb.tar.gz rsyslog-5b55ab75e27861241981ae447ed3d1b8ad968deb.tar.bz2 rsyslog-5b55ab75e27861241981ae447ed3d1b8ad968deb.zip |
debugondemand mode caused backgrounding to fail
This is close to a bug, but I'd consider the ability to background
in this mode a new feature...
Diffstat (limited to 'runtime/debug.c')
-rw-r--r-- | runtime/debug.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/debug.c b/runtime/debug.c index 9547eee6..c23dec3b 100644 --- a/runtime/debug.c +++ b/runtime/debug.c @@ -1271,11 +1271,11 @@ dbgGetRuntimeOptions(void) /* this is earlier in the process than the -d option, as such it * allows us to spit out debug messages from the very beginning. */ - Debug = 1; + Debug = DEBUG_FULL; debugging_on = 1; } else if(!strcasecmp((char*)optname, "debugondemand")) { /* Enables debugging, but turns off debug output */ - Debug = 1; + Debug = DEBUG_ONDEMAND; debugging_on = 1; dbgprintf("Note: debug on demand turned on via configuraton file, " "use USR1 signal to activate.\n"); |