summaryrefslogtreecommitdiffstats
path: root/action.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | milestone: done plumbing to call plugin create action instance entry pointRainer Gerhards2011-07-201-0/+100
| | | | | |
* | | | | | Merge branch 'v5-devel'Rainer Gerhards2011-06-271-1/+6
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imfile/imfile.c plugins/imklog/imklog.c plugins/imptcp/imptcp.c plugins/imtcp/imtcp.c plugins/imuxsock/imuxsock.c plugins/mmsnmptrapd/mmsnmptrapd.c tools/omfile.c
| * | | | | Merge branch 'v5-stable' into v5-develRainer Gerhards2011-06-211-8/+12
| |\ \ \ \ \ | | | |/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| * | | | | Merge branch 'v5-stable' into v5-develRainer Gerhards2011-06-161-47/+125
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | | | | | preparing for 5.9.0v5.9.0Rainer Gerhards2011-06-101-1/+1
| | | | | | |
| * | | | | | set queue name to aciton name (useful for impstats!)Rainer Gerhards2011-06-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | so far untested, test follows
* | | | | | | Merge branch 'beta'Rainer Gerhards2011-06-211-47/+129
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/Makefile.am tests/manytcp-too-few-tls.sh
| * | | | | | Merge branch 'v5-stable' into betaRainer Gerhards2011-06-211-47/+129
| |\ \ \ \ \ \ | | | |_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html tests/diag.sh tests/sndrcv_drvr.sh
| | * | | | | bugfix: problems in failover action handlingRainer Gerhards2011-06-201-8/+12
| | | |/ / / | | |/| | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=254
| | * | | | failover problem was not totally solved, now (hopefully ;))Rainer Gerhards2011-06-161-27/+59
| | | | | | | | | | | | | | | | | | | | | | | | I overlooked a border case, which came up on a larger testbench run.
| | * | | | bugfix: problems in failover action handlingRainer Gerhards2011-06-161-47/+93
| | |/ / / | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=270 (not yet confirmed!)
* | | | | step: action queues now activated only AFTER privilege dropRainer Gerhards2011-05-021-1/+30
| | | | |
* | | | | step: moved main message queue activation to after priv dropRainer Gerhards2011-04-271-1/+0
| | | | |
* | | | | step: config handler setting from syslogd.c moved to rsconf.cRainer Gerhards2011-04-211-3/+5
| | | | |
* | | | | milestone: templates are now in config objectRainer Gerhards2011-04-191-1/+1
|/ / / /
* | | | Merge branch 'v5-devel'Rainer Gerhards2011-03-311-31/+111
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html doc/rsyslog_conf.html runtime/msg.c runtime/rsyslog.h template.c
| * | | bugfix: error return from strgen caused abort, now causes action to be ignoredRainer Gerhards2011-03-291-1/+2
| | | | | | | | | | | | | | | | ...(just like a failed filter)
| * | | Merge branch 'v5-stable' into v5-betaRainer Gerhards2011-03-161-30/+109
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * | | fixed a regression of last patch and some cleanupRainer Gerhards2011-03-161-14/+4
| | | | |
| | * | | bugfix: failover did not work correctly if repeated msg reduction was onRainer Gerhards2011-03-161-30/+119
| | | | | | | | | | | | | | | | | | | | affected directive was: $ActionExecOnlyWhenPreviousIsSuspended on
| | * | | bugfix(kind of): tell users that config graph can currently not be generatedRainer Gerhards2011-03-081-1/+2
| | | | | | | | | | | | | | | | | | | | closes: http://bugzilla.adiscon.com/show_bug.cgi?id=232
* | | | | Merge branch 'v5-beta'Rainer Gerhards2011-03-111-1/+2
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/omlibdbi/omlibdbi.c tests/Makefile.am tests/diag.sh
| * | | | bugfix: discard action did not work under some circumstancesRainer Gerhards2011-03-071-1/+2
| | | | | | | | | | | | | | | | | | | | fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=217
* | | | | Merge branch 'v5-beta'Rainer Gerhards2011-02-181-12/+13
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/glbl.c tools/omdiscard.c
| * | | | bugfix: minor race condition in action.c - considered cosmeticRainer Gerhards2011-02-171-12/+13
| |/ / / | | | | | | | | | | | | | | | | | | | | This is considered cosmetic as multiple threads tried to write exactly the same value into the same memory location without sync. The method has been changed so this can no longer happen.
* | | | Merge branch 'v5-devel'Rainer Gerhards2010-12-171-60/+72
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c plugins/imudp/imudp.c runtime/glbl.c
| * | | bug fixes in action processingRainer Gerhards2010-12-171-49/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - bugfix: action processor released mememory too early, resulting in potential issue in retry cases (but very unlikely due to another bug, which I also fixed -- only after the fix this problem here became actually visible). - bugfix: batches which had actions in error were not properly retried in all cases
| * | | used a bit more stack (irrelevant) to gain a bit more performance...Rainer Gerhards2010-12-161-1/+2
| | | | | | | | | | | | | | | | ... for large batches
| * | | bugfix: batch processing flagged invalid message as "bad" under some ↵Rainer Gerhards2010-12-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | circumstances also fixed some cosmetic nits
* | | | bugfix: potential abort when output modules with different parameter ...Rainer Gerhards2010-12-031-1/+3
| | | | | | | | | | | | | | | | ... passing modes were used in configured output modules
* | | | bugfix: memory leak if different passing modes were used in actionsRainer Gerhards2010-12-011-0/+8
| | | |
* | | | milestone: added support for CEE-properties in property-based filtersRainer Gerhards2010-12-011-1/+0
| | | |
* | | | Merge branch 'v5-devel'Rainer Gerhards2010-11-251-1/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: runtime/rsyslog.h
| * | | bugfix: replacements for atomic operations for non-int sized types had problems.Rainer Gerhards2010-11-251-1/+1
| | | | | | | | | | | | | | | | | | | | At least one instance of that problem could potentially lead to abort (inside omfile).
* | | | Merge branch 'v5-devel'Rainer Gerhards2010-10-221-1/+1
|\| | |
| * | | fixing a potentially uninitialized variablev5.6.0Rainer Gerhards2010-10-191-1/+1
| | | |
* | | | Merge branch 'master' into newconfRainer Gerhards2010-08-051-0/+1
|\| | | | | | | | | | | | | | | | | | | Conflicts: doc/manual.html
| * | | break potential infinite loop in actionDoRetrySteffen Sledz2010-08-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a module always returns RS_RET_OK (like ompipe does) the actionDoRetry loop may not have leaved faked ACT_STATE_SUSP state in case iResumeOKinRow had ever reached a count of 1000. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | added support to save/restore rsyslog core action settings...Rainer Gerhards2010-07-231-127/+190
| | | | | | | | | | | | | | | | | | | | ... but not those of plugins (which are at least as important as the core ones). So this is an interim commit.
* | | | moving towards scoping inside rsyslog.confRainer Gerhards2010-07-211-29/+29
|/ / / | | | | | | | | | first step: adding object-type specifier to config statement table
* | | added missing support for systems without atomic instructionsRainer Gerhards2010-06-241-1/+3
| | |
* | | bugfix: "$ActionExecOnlyWhenPreviousIsSuspended on" was brokenRainer Gerhards2010-06-241-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Note that, as it looks, the directive was already broken in previous v5 versions. So while I solved what looked like a (intentional) regression from the performance tuning, I actually solved a previous regression as well ;) I have also added new test cases to the testbench in order to capture such problems in the future. This version does now look pretty good in shape.
* | | fixed a couple of regressionsRainer Gerhards2010-06-231-74/+101
| | | | | | | | | | | | | | | | | | | | | | | | by implementing some code that was missing so far ;) as well as finding some real bugs. I also did some general cleanup, removing debug strings and such. This code should be fairly OK to use, except when "exec only when previous action was suspended" is used -- this is NOT yet re-implemented in the tuned engine.
* | | fixed problem in action message induced failure handlingRainer Gerhards2010-06-211-2/+2
| | |
* | | minor cleanupRainer Gerhards2010-06-211-3/+0
| | |
* | | fixed a problem with ACT_MESSAGE_PASSING type of doAction interfaceRainer Gerhards2010-06-151-25/+12
| | |
* | | milestone(BUGGY): batch now pushed down to actionRainer Gerhards2010-06-151-46/+140
| | | | | | | | | | | | | | | | | | | | | at least in important cases (not for non-direct action queues and some other minor things). This version is definitely buggy, but may be tried with success on a non-production system. I will continue to work on the correctness, but needed to commit now to get a baseline.
* | | some cleanupRainer Gerhards2010-06-101-57/+17
| | | | | | | | | | | | | | | as well as some work in preparation of storing doAction params inside the batch
* | | fixed regression for omruleset use caseRainer Gerhards2010-06-101-5/+15
| | | | | | | | | | | | | | | I did not revert to using the action ppMsg data element, as one of the next steps is to remove it by an overall much better solution.
* | | Merge branch 'concurrent-output' into tmpRainer Gerhards2010-06-101-52/+65
|\ \ \