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.h | |
parent | dffcfa8699c41d9f64b7aee131a32661587ce441 (diff) | |
download | rsyslog-5b55ab75e27861241981ae447ed3d1b8ad968deb.tar.gz rsyslog-5b55ab75e27861241981ae447ed3d1b8ad968deb.tar.xz 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.h')
-rw-r--r-- | runtime/debug.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/debug.h b/runtime/debug.h index dcbfb930..cfdf819c 100644 --- a/runtime/debug.h +++ b/runtime/debug.h @@ -29,6 +29,11 @@ #include <pthread.h> #include "obj-types.h" +/* some settings for various debug modes */ +#define DEBUG_OFF 0 +#define DEBUG_ONDEMAND 1 +#define DEBUG_FULL 2 + /* external static data elements (some time to be replaced) */ extern int Debug; /* debug flag - read-only after startup */ extern int debugging_on; /* read-only, except on sig USR1 */ |