summaryrefslogtreecommitdiffstats
path: root/action.h
Commit message (Collapse)AuthorAgeFilesLines
* added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-021-1/+1
| | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* some more cleanup - action config line handlers are now defined in action.cRainer Gerhards2009-10-271-1/+0
| | | | As an artifact of early development, they were registered in syslogd.c
* added new config option $ActionWriteAllMarkMessagesRainer Gerhards2009-08-201-0/+1
| | | | | | this option permites to process mark messages under all circumstances, even if an action was recently called. This can be useful to use mark messages as a kind of heartbeat.
* some post-merge cleanupRainer Gerhards2009-06-221-2/+0
|
* Merge branch 'omfile' into tmpRainer Gerhards2009-06-221-4/+6
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was a complex manual merge, especially in action.c. So if there occur some problems, this would be a good point to start troubleshooting. I run a couple of tests before commiting and they all went well. Conflicts: action.c action.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h
| * optimized template string generationRainer Gerhards2009-06-191-0/+1
| |
| * optimized action.c a bitRainer Gerhards2009-06-191-5/+6
| |
* | Merge branch 'master' into multi-dequeueRainer Gerhards2009-05-121-0/+1
|\| | | | | | | | | Conflicts: runtime/rsyslog.h
| * 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)
* | first shot at action state machine implemention (untested)Rainer Gerhards2009-05-071-2/+13
|/ | | | | I am commiting it so that the code is visible, but will no begin with the test environment.
* 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