summaryrefslogtreecommitdiffstats
path: root/runtime/debug.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v7-stable'Rainer Gerhards2013-03-181-0/+1
|\ | | | | | | | | | | Conflicts: runtime/debug.h tools/syslogd.c
| * debug system improvement & bug fix for init system status (see below)Rainer Gerhards2013-03-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | - rsyslogd startup information is now properly conveyed back to init when privileges are beging dropped Actually, we have moved termination of the parent in front of the priv drop. So it shall work now in all cases. See code comments in commit for more details. - If forking, the parent now waits for a maximum of 60 seconds for termination by the child - improved debugging support in forked (auto-backgrounding) mode The rsyslog debug log file is now continued to be written across the fork.
* | added ability to configure debug system via rsyslog.confRainer Gerhards2013-02-271-0/+2
| |
* | added capability to output thread-id-to-function debug infoRainer Gerhards2013-01-131-0/+1
|/ | | | This is a useful debug aid, but nothing of concern for regular users.
* added --enable-debugless configure option for very high demanding environmentsRainer Gerhards2012-05-291-2/+7
| | | | | This actually at compile time disables a lot of debug code, resulting in some speedup (but serious loss of debugging capabilities)
* bugfix: if debug message could end up in log file when forkingTomas Heinrich2012-05-291-0/+1
| | | | | | | | | | | if rsyslog was set to auto-background (thus fork, the default) and debug mode to stdout was enabled, debug messages ended up in the first log file opened. Currently, stdout logging is completely disabled in forking mode (but writing to the debug log file is still possible). This is a change in behaviour, which is under review. If it causes problems to you, please let us know. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* Merge branch 'v4-stable' into v5-stableRainer Gerhards2012-01-161-16/+14
|\ | | | | | | | | | | | | | | Conflicts: runtime/debug.h runtime/obj.c runtime/parser.h runtime/wti.h
| * runtime license changeRainer Gerhards2012-01-161-16/+14
| |
* | Merge branch 'v4-devel' into tmpRainer Gerhards2009-11-201-0/+5
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog tests/Makefile.am tests/sndrcv_drvr.sh tools/syslogd.c
| * debugondemand mode caused backgrounding to failRainer Gerhards2009-11-201-0/+5
| | | | | | | | | | This is close to a bug, but I'd consider the ability to background in this mode a new feature...
* | enhanced test environment (including testbench)Rainer Gerhards2009-10-221-1/+8
|/ | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* solved a race conditionRainer Gerhards2009-07-071-1/+0
|
* first shot at asynchronous stream writer with timeout capabilityRainer Gerhards2009-07-061-2/+2
| | | | | ... seems to work on quick testing, but needs a far more testing and improvement. Good milestone commit.
* Merge branch 'dapatch'Rainer Gerhards2009-03-251-0/+4
|\
| * bugfix: potential abort with DA queue after high watermark is reachedRainer Gerhards2009-03-251-0/+4
| | | | | | | | | | | | There exists a race condition that can lead to a segfault. Thanks go to vbernetr, who performed the analysis and provided patch, which I only tweaked a very little bit.
* | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-091-0/+1
| | | | | | | | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
* | restructured imudp receive loopRainer Gerhards2008-10-081-0/+1
| | | | | | | | | | | | | | | | cleaned up previous code and redid it in a way that makes it much easier to extend it also added a new macro DBGPRINTF which is a performance-optimzed version of dbgprintf
* | bugfix: potential race condition when adding messages to queueRainer Gerhards2008-09-181-1/+2
|/ | | | | | | There was a wrong order of mutex lock operations. It is hard to believe that really caused problems, but in theory it could and with threading we often see that theory becomes practice if something is only used long enough on a fast enough machine with enough CPUs ;)
* moved files to the runtimeRainer Gerhards2008-04-161-0/+146
there are still some files left which could go into the runtime, but I think we will delete most of them once we are done with the full modularization.