summaryrefslogtreecommitdiffstats
path: root/debug.c
Commit message (Collapse)AuthorAgeFilesLines
* worked a bit on atomic memory operations to support problem-free threadingRainer Gerhards2008-03-311-0/+2
| | | | (only at non-intrusive places)
* added initial support for atomic operationsRainer Gerhards2008-03-311-3/+2
|
* bugfix: $ModDir did invalid bounds checking, potential overlow inRainer Gerhards2008-03-271-2/+2
| | | | dbgprintf() - thanks to varmojfekoj for the patch
* made debug module free some memory on exit to make memory debugger happyRainer Gerhards2008-03-201-0/+13
|
* bugfix: fixed some minor memory leaksRainer Gerhards2008-03-201-0/+4
|
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-1/+1
|
* bugfix: debug.c now survives module unloads in all cases tracker:Rainer Gerhards2008-03-101-23/+65
| | | | http://bugzilla.adiscon.com/show_bug.cgi?id=2
* fixed some compiler warnings under FreeBSDRainer Gerhards2008-03-061-4/+4
|
* portability: no longer using pthread mutex auto-init macros as they seem toRainer Gerhards2008-03-061-8/+17
| | | | be buggy on some platforms
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-3/+7
| | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far)
* - added class tcpsRainer Gerhards2008-03-021-3/+9
| | | | | | - added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken
* - added "debug" command to debug environment settingsRainer Gerhards2008-02-291-2/+7
| | | | | | | | | - changed the object/interface system to use a new way of calling, giving up the numerical object ID. This was necessary as we needed more extensibility for third-party modules (which don't play at all with the previous fixed object ID). This is stage work for the object loader. Please note that I needed to change the object (de)serializer, I can't outrule that I have introduced bugs there.
* changed obj base object's calling interface to use the new obj_if_tRainer Gerhards2008-02-291-4/+17
| | | | interface structure
* added "help" command to runtime debug flagsRainer Gerhards2008-02-281-1/+19
|
* enabled debug-support to pull runtime options from environment (bug 18)Rainer Gerhards2008-02-281-25/+90
|
* implemented environment-settable debug optionsRainer Gerhards2008-02-281-15/+117
|
* - wrote doc on how to use the expression engineRainer Gerhards2008-02-281-8/+8
| | | | | - changed ABNF to fully support old property names - added case-insensitive comparison operations
* bugfix: during queue shutdown, an assert invalidly triggered when theRainer Gerhards2008-02-271-1/+1
| | | | | | primary queue's DA worker was terminated while the DA queue's regular worker was still executing. This could result in a segfault during shutdown. tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=41
* bugfix: queue cancel cleanup handler could be called with invalid pointerRainer Gerhards2008-02-271-4/+10
| | | | if dequeue failed
* worked on queue stabilityRainer Gerhards2008-02-261-2/+2
|
* - added some temporary testing aids to conf.c, so that we can debugRainer Gerhards2008-02-251-2/+4
| | | | | | expression support as it is implemented - fixed a couple of bugs in expression system - added more operations to virtual machine - now works well with constants
* - modified parser and tokenizer to support slight ABNF modifications fromRainer Gerhards2008-02-211-2/+2
| | | | | | | yesterday - change in ABNF was wrong - made a slightly different change - fixed bugs in tokenizer - expression compiler finished (except bugs, of course ;))
* added vmop class (stage for expression execution)Rainer Gerhards2008-02-201-3/+3
|
* created var class out of property_tRainer Gerhards2008-02-201-1/+1
|
* - basic implementation of expression parser parsing doneRainer Gerhards2008-02-201-3/+16
| | | | - improved ABNF a bit
* - removed no longer necessary signal from threads.cRainer Gerhards2008-02-181-2/+7
| | | | | - changed debug output request signal to SIGUSR2 (as originally intented), restored SIGUSR1 semantics
* - introduced a new, more powerful, message submission interface submitMsg()Rainer Gerhards2008-02-131-2/+4
| | | | | | in additon to logmsg() - a first, rough implementation of imfile that is able to read files (but does not persist or handle rotation or whatever)
* - improved diagnostic information for abort casesRainer Gerhards2008-02-121-1/+29
| | | | | - some initial effort for malloc/free debugging support - bugfix: using dynafile actions caused rsyslogd abort
* reduced volume of debug outputRainer Gerhards2008-02-121-3/+8
|
* added input-plugin interface specification in form of a (copy) templateRainer Gerhards2008-02-011-1/+0
| | | | input module
* bugfix: dbgoprint mutex - was too simple once I wrote the tracker item ;)Rainer Gerhards2008-01-311-7/+4
|
* - fixed bug in sample rsyslog.confRainer Gerhards2008-01-311-1/+5
| | | | | | | - fixed wrong action suspend/resume handling - we have some issue with the mutx in dbgoprint, but that is acceptable for the time being, I just removed the deadlock codition (debug system only)
* fixed a bug that caused $MainMsgQueueCheckpointInterval to work incorrectlyRainer Gerhards2008-01-301-1/+1
|
* added ability to re-enqueue objects into the queue when a worker thread isRainer Gerhards2008-01-291-1/+1
| | | | cancelled
* implemented naming for all objects (mostly as a debug aid, but you neverRainer Gerhards2008-01-291-1/+86
| | | | know what else it will be good for)
* cleanup to prepare for releaseRainer Gerhards2008-01-281-1/+1
|
* some more testing and cleanup with the queue class (pretty stable now)Rainer Gerhards2008-01-281-1/+1
|
* added capability to record last known exec location in debug stack dumpRainer Gerhards2008-01-281-19/+33
|
* fixed queue termination in case bSaveOnShutdown is 0Rainer Gerhards2008-01-271-2/+2
|
* improved SIGSEGV handler a bit (now we get a core dump)Rainer Gerhards2008-01-261-14/+6
|
* added debug-support environment variable RSYSLOG_DEBUGLOGRainer Gerhards2008-01-251-4/+12
|
* disk-assisted queue mode finally begins to look good ;)Rainer Gerhards2008-01-251-9/+24
|
* restructured queue shutdown so that the queue timeout is properly appliedRainer Gerhards2008-01-251-1/+2
| | | | before terminatiing the queue
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-6/+0
| | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS...
* more improvements and bug fixesRainer Gerhards2008-01-241-33/+164
|
* improved debugging support (faster, less memory used, function invocationRainer Gerhards2008-01-241-55/+170
| | | | count is maintened)
* looks like the first actually usable debug class is doneRainer Gerhards2008-01-231-70/+118
|
* bug fixes and improvementsRainer Gerhards2008-01-231-14/+64
|
* added mutex debug instrumentationRainer Gerhards2008-01-231-30/+314
|
* added thread-specific call stack to debug interfaceRainer Gerhards2008-01-221-13/+131
|