summaryrefslogtreecommitdiffstats
path: root/action.c
Commit message (Collapse)AuthorAgeFilesLines
* - changed the ommysql output plugin so that the (lengthy) connectionRainer Gerhards2008-01-301-11/+32
| | | | | | | initialization now takes place in message processing. This works much better with the new queued action mode (fast startup) - fixed a newly introduced bug that caused output module's doAction entry point to be called on more than one thread under some circumstances
* fixed a bug that caused $MainMsgQueueCheckpointInterval to work incorrectlyRainer Gerhards2008-01-301-5/+0
|
* finally implemented infinite action retries via -1 retry countRainer Gerhards2008-01-301-13/+13
|
* - renamed Msg object to usual all-lowercase object name (else we ran intoRainer Gerhards2008-01-301-6/+6
| | | | | | troubles with the framework, also it was somewhat ugly...) - fixed a memory leak in object destruction (was recently introduced by object naming, not present in any released version)
* action queue params are reset to default for each actionRainer Gerhards2008-01-291-0/+38
|
* bugfixing newly added action codeRainer Gerhards2008-01-291-1/+5
|
* - fine tuning on queue namingRainer Gerhards2008-01-291-1/+18
| | | | | - action queues are now also named (otherwise you can't read the debug log ;))
* - moved correct retry logic into action processing queueRainer Gerhards2008-01-291-27/+14
| | | | | - removed debugging support from sync class, debug class now provides much more
* - improved debug support a bit (assertions)Rainer Gerhards2008-01-291-8/+192
| | | | | - restructured code, moved some part out of syslogd.c to action.c, where they belong (still some more to do in that regard ;))
* - implemented the $ActionResumeRetryCount config directiveRainer Gerhards2008-01-281-2/+147
| | | | | | | | | | | | | | | | | | | | | - added queue between main queue and action executor (currently works in "direct" mode only, else crashes) - added $ActionQueueFilename config directive - added $ActionQueueSize config directive - added $ActionQueueHighWaterMark config directive - added $ActionQueueLowWaterMark config directive - added $ActionQueueDiscardMark config directive - added $ActionQueueDiscardSeverity config directive - added $ActionQueueCheckpointInterval config directive - added $ActionQueueType config directive - added $ActionQueueWorkerThreads config directive - added $ActionQueueTimeoutshutdown config directive - added $ActionQueueTimeoutActionCompletion config directive - added $ActionQueueTimeoutenQueue config directive - added $ActionQueueTimeoutworkerThreadShutdown config directive - added $ActionQueueWorkerThreadMinimumMessages config directive - added $ActionQueueMaxFileSize config directive - added $ActionQueueSaveonShutdown config directive
* implemented the $ActionResumeRetryCount config directiveRainer Gerhards2008-01-281-0/+66
|
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-5/+5
| | | | | | 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...
* worked on threadingRainer Gerhards2008-01-171-1/+1
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* fixed a potential race condition, see link for details:Rainer Gerhards2007-12-111-0/+3
| | | | http://rgerhards.blogspot.com/2007/12/rsyslog-race-condition.html
* fixed some type warnings that appeared on 64 bit machines - these were inRainer Gerhards2007-12-071-1/+1
| | | | debug statements, so indicated no real problem
* changed rsyslog.h include order to solve debian sid zlib inlcude issueMichael Meckelein2007-08-081-1/+1
|
* added config file directive $ActionResumeIntervalRainer Gerhards2007-08-081-3/+18
|
* changed function name dprintf() to dbgprintf() as it conflicts with theRainer Gerhards2007-08-081-2/+1
| | | | clib
* moved action object out of syslogd.c to its own fileset (action.c/h)Rainer Gerhards2007-08-061-0/+178