summaryrefslogtreecommitdiffstats
path: root/action.h
Commit message (Collapse)AuthorAgeFilesLines
* added capability to draw configuration graphsRainer Gerhards2009-05-111-0/+1
| | | | | | | | - added $GenerateConfigGraph configuration command which can be used to generate nice-looking (and very informative) rsyslog configuration graphs. - added $ActionName configuration directive (currently only used for graph generation, but may find other uses)
* added a new way how output plugins may be passed parameters.Rainer Gerhards2009-04-031-0/+2
| | | | | This is more efficient for some outputs. They new can receive fields not only as a single string but rather in an array where each string is seperated.
* integrated various patches for solarisRainer Gerhards2009-03-051-1/+1
| | | | | | | | | Unfortunatley, I do not have the full list of contributors available. The patch set was compiled by Ben Taylor, and I made some further changes to adopt it to the news rsyslog branch. Others provided much of the base work, but I can not find the names of the original authors. If you happen to be one of them, please let me know so that I can give proper credits.
* added new config directive $RepeatedMsgContainsOriginalMsgRainer Gerhards2009-02-021-1/+2
| | | | | | so that the "last message repeated n times" messages, if generated, may have an alternate format that contains the message that is being repeated. Note that this is on an action-by-action basis.
* added configuration directive "HUPisRestart"Rainer Gerhards2008-10-231-0/+1
| | | | | ...which enables to configure HUP to be either a full restart or "just" a leightweight way to close open files
* consolidated time() calls in rule engineRainer Gerhards2008-09-161-2/+2
| | | | | | | ... but did not manage to avoid doing at least one call. So this change introduced performance benefit only in a few non-common situations. Anyhow, it hopefully levels ground for better things to come.
* added ability to execute actions only after the n-th call of the actionRainer Gerhards2008-08-071-0/+4
| | | | | | | | | This also lead to the addition of two new config directives: $ActionExecOnlyEveryNthTime and $ActionExecOnlyEveryNthTimeTimeout This feature is useful, for example, for alerting: it permits you to send an alert only after at least n occurences of a specific message have been seen by rsyslogd. This protectes against false positives due to waiting for additional confirmation.
* implemented $ActionExecOnlyOnceEveryInterval config directiveRainer Gerhards2008-04-081-1/+3
|
* implemented module unload handling (required a number of interface changes)Rainer Gerhards2008-03-111-1/+1
|
* shuffled some more code from syslogd.c to the right placesRainer Gerhards2008-03-051-0/+1
|
* changed obj base object's calling interface to use the new obj_if_tRainer Gerhards2008-02-291-0/+1
| | | | interface structure
* - changed the ommysql output plugin so that the (lengthy) connectionRainer Gerhards2008-01-301-2/+1
| | | | | | | 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
* bugfixing newly added action codeRainer Gerhards2008-01-291-0/+1
|
* - improved debug support a bit (assertions)Rainer Gerhards2008-01-291-0/+2
| | | | | - 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-1/+5
| | | | | | | | | | | | | | | | | | | | | - 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/+9
|
* 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/+2
| | | | http://rgerhards.blogspot.com/2007/12/rsyslog-race-condition.html
* added new modExit() entry point to loadable module interfaceRainer Gerhards2007-11-211-1/+1
|
* added config file directive $ActionResumeIntervalRainer Gerhards2007-08-081-0/+2
|
* changed function name dprintf() to dbgprintf() as it conflicts with theRainer Gerhards2007-08-081-1/+1
| | | | clib
* moved action object out of syslogd.c to its own fileset (action.c/h)Rainer Gerhards2007-08-061-0/+80