summaryrefslogtreecommitdiffstats
path: root/action.c
Commit message (Collapse)AuthorAgeFilesLines
* ability to load proper select netstrm driverRainer Gerhards2008-04-291-1/+1
|
* some more cleanupRainer Gerhards2008-04-161-1/+1
| | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear
* implemented $ActionExecOnlyOnceEveryInterval config directiveRainer Gerhards2008-04-081-1/+16
|
* added the capability to specify a processing (actually dequeue) timeframeRainer Gerhards2008-04-031-4/+11
| | | | with queues - so things can be configured to be done at off-peak hours
* changed queue's discard severities default value to 8 (do not discard) toRainer Gerhards2008-03-221-1/+1
| | | | prevent unintentional message loss
* added advanced flow control for congestion cases (mode depending on messageRainer Gerhards2008-03-141-1/+1
| | | | source and its capablity to be delayed without bad side effects)
* fixed some compiler warnings under FreeBSDRainer Gerhards2008-03-061-1/+1
|
* shuffled some more code from syslogd.c to the right placesRainer Gerhards2008-03-051-0/+100
|
* moved date/time handling functions to their own object (2nd pass)Rainer Gerhards2008-03-051-3/+7
|
* bugfix: actions were not correctly retried; caused message lossRainer Gerhards2008-03-051-1/+4
|
* - extracted logerror*() family of functions from syslogd, made them theirRainer Gerhards2008-03-051-3/+6
| | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module
* - changed modules.c calling conventions to be interface-basedRainer Gerhards2008-03-051-2/+5
| | | | | | | | | | | - 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)
* changed obj base object's calling interface to use the new obj_if_tRainer Gerhards2008-02-291-4/+16
| | | | interface structure
* implemented environment-settable debug optionsRainer Gerhards2008-02-281-10/+10
|
* bugfix: message object was not properly synchronized when the main queueRainer Gerhards2008-02-201-0/+8
| | | | had a single thread and non-direct action queues were used
* bugfix: fixed abort when invalid template was provided to an action bug:Rainer Gerhards2008-02-181-1/+3
| | | | http://bugzilla.adiscon.com/show_bug.cgi?id=4
* - implemented $ActionLibdbiDriverDirectory config directiveRainer Gerhards2008-02-151-1/+0
| | | | | - some cleanup - doc improvements
* removed some left-over unnecessary dbgprintf'sRainer Gerhards2008-02-131-10/+0
|
* - improved diagnostic information for abort casesRainer Gerhards2008-02-121-7/+18
| | | | | - some initial effort for malloc/free debugging support - bugfix: using dynafile actions caused rsyslogd abort
* bugfix: discard action and backup actions did not work due to problem inRainer Gerhards2008-02-121-0/+1
| | | | | | direct queue mode. Now fixed. Tracker was http://sourceforge.net/tracker/index.php?func=detail&aid=1886931&group_ id=123448&atid=696552
* removed debug messageRainer Gerhards2008-02-111-1/+0
|
* bugfix: having fun with 32/64 bit portability - after 15 years, I finallyRainer Gerhards2008-01-311-4/+4
| | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms
* - fixed bug in sample rsyslog.confRainer Gerhards2008-01-311-6/+6
| | | | | | | - 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)
* - rename $<obj>TimoutWorkerThreadShutdown toRainer Gerhards2008-01-311-8/+10
| | | | | | | $<obj>WorkerTimoutThreadShutdown for consistency reasons - changed default for action queue size to 1000 elements (more reasonable here) - fixed bug in sample rsyslog.conf
* - implemented limiting disk space allocated to queuesRainer Gerhards2008-01-301-0/+7
| | | | | - addded $MainMsgQueueMaxDiskSpace config directive - addded $ActionQueueMaxDiskSpace config directive
* - implemented simple output rate limitingRainer Gerhards2008-01-301-2/+10
| | | | | | - addded $ActionQueueDequeueSlowdown config directive - addded $MainMsgQueueDequeueSlowdown config directive - bugfix: MsgDup() did not work with new base object data structure
* - 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