summaryrefslogtreecommitdiffstats
path: root/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v4-beta'Rainer Gerhards2009-11-101-0/+9
|\ | | | | | | | | Conflicts: ChangeLog
| * added a so-called "On Demand Debug" modeRainer Gerhards2009-11-101-0/+9
| | | | | | | | | | | | in which debug output can be generated only after the process has started, but not right from the beginning. This is assumed to be useful for hard-to-find bugs. Also improved the doc on the debug system.
* | Merge branch 'v4-devel' into tmpRainer Gerhards2009-11-051-0/+1
|\ \
| * | Merge branch 'v4-beta' into v4-develRainer Gerhards2009-11-051-0/+1
| |\| | | | | | | | | | | | | Conflicts: tests/Makefile.am
| | * bugfix: named pipes did no longer work (they always got an open error)Rainer Gerhards2009-11-051-0/+1
| | | | | | | | | | | | this was a regression from the omfile rewrite in 4.5.0
* | | first complete implementation of loadable parser systemRainer Gerhards2009-11-043-2/+58
| | | | | | | | | | | | | | | | | | | | | I have now done the necessary cleanup. Looks like everything is in place. Unfortunately, I do not yet have any actual parser that is not built-in, but I think we can postpone working on that when the first one appears. I don't expect troubles in that case, but you never know ;)
* | | added $RulesetParser config directiveRainer Gerhards2009-11-042-5/+51
| | | | | | | | | | | | | | | The implementation is now almost done and works, including doc. I now need to verify shutdown, guess there are some resource leaks left...
* | | finalized parser module calling interfaceRainer Gerhards2009-11-044-28/+76
| | | | | | | | | | | | | | | looks like we are almost done and need only to add the ruleset parser-specific config options.
* | | moved rfc3164/5424 code to new parser modulesRainer Gerhards2009-11-046-414/+89
| | | | | | | | | | | | | | | | | | another milestone commit: the program works, the new interface is used, some more cleanup is needed and the per-ruleset config options are still missing. But we are getting closer...
* | | some more cleanup along the wayRainer Gerhards2009-11-031-1/+29
| | | | | | | | | | | | ... getting the module structure a bit cleaner ;)
* | | one step closer to dynamically loadable parsersRainer Gerhards2009-11-039-26/+243
| | | | | | | | | | | | | | | This is a milestone commit, which adds new code that breaks nothing, but also does not add any visible change. Just prep work...
* | | more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-039-21/+151
| | | | | | | | | | | | | | | | | | I cleaned up a lot of config variable access along the way. This version compiles and runs, but does not yet offer any enhanced functionality. pmrfc5424 is just a dummy that is not yet being used.
* | | restructured parser part of rsyslogRainer Gerhards2009-11-031-0/+382
| | | | | | | | | | | | | | | | | | now cleaner and hopefully usuable as a basis for loadable parser modules. I also cleaned up/consolidated some of the internal message generation functionality in rsyslogd.
* | | Merge branch 'v4-devel'Rainer Gerhards2009-11-031-0/+44
|\| |
| * | added function getenv() to RainerScriptRainer Gerhards2009-11-031-0/+44
| |/
| * Merge branch 'v4-stable' into v4-betaRainer Gerhards2009-10-211-2/+0
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imrelp/imrelp.c
| | * Merge branch 'v3-stable' into v4-stableRainer Gerhards2009-10-201-2/+0
| | |\
| | | * bugfix: potential hang condition on queue shutdownRainer Gerhards2009-10-201-2/+0
| | | |
| | * | RFC5424 formatted messages with only structured data and no MSG part were ↵Rainer Gerhards2009-10-012-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | improperly handled. This was a regression of one of the last bugfixes, so no previously released version contained this bug (thus it does not show up in the ChangeLog).
* | | | added omruleset output module, which provides great flexibility in action ↵Rainer Gerhards2009-11-024-19/+23
| | | | | | | | | | | | | | | | | | | | | | | | processing. THIS IS A VERY IMPORTANT ADDITION, see its doc for why.
* | | | added the capability to have ruleset-specific main message queuesRainer Gerhards2009-10-275-3/+73
| | | | | | | | | | | | | | | | | | | | This offers considerable additional flexibility AND superior performance (in cases where multiple inputs now can avoid lock contention)
* | | | action processing optimized for queue shutdownRainer Gerhards2009-10-271-1/+1
| | | |
* | | | removed no longer needed flag variableRainer Gerhards2009-10-272-11/+6
| | | |
* | | | fix compile bug with last commitRainer Gerhards2009-10-271-1/+0
| | | |
* | | | some cleanupRainer Gerhards2009-10-274-83/+4
| | | |
* | | | fixed race condition during queue shutdownRainer Gerhards2009-10-272-12/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problems could happen if the queue worker needed to be cancelled and this cancellation happened inside queue-code (including wtp, wti). We have now solved this by disabling cancellation while in this code and only enabling it when working inside the user consumer. This exactly matches the use case for which cancellation may be needed.
* | | | shuffled cancelability state to different spotRainer Gerhards2009-10-261-3/+8
| | | | | | | | | | | | | | | | ... but in anticipation of changing cancel processing altogether...
* | | | addressed some race issues during queue shutdownRainer Gerhards2009-10-263-22/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | these occured in very unusual scenarios where we had a DA-queue running in parallel and very lengthy actions. Then, in some situations, the shutdown could hang. The code needs some addition lab time, but is believed to be much better than any previous version.
* | | | Merge branch 'master' into queuePartialDeleteBatchesRainer Gerhards2009-10-262-2/+6
|\ \ \ \
| * | | | bugfix: potential abort if inputname property was not setRainer Gerhards2009-10-262-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | primarily a problem of imdiag. Also added some fix for a potential situation during cancel processing. That one is not considered vital and may later be removed again.
* | | | | implemented solution for cancel at shutdown/unprocessed entriesRainer Gerhards2009-10-262-36/+24
| | | | | | | | | | | | | | | | | | | | | | | | | We do now enqueue those objects that are left unprocessed. This enables us to delete the full batch, what is exactly what we need to do.
* | | | | Begun to work on partial batch deletes...Rainer Gerhards2009-10-221-9/+21
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but this brings a lot of problems with it. The issue is that we still have a sequential store and we do not know how we could delete the one entry right in the middle of processing. I keep this branch if we intend to move on with it - but for now I look into a different solution...
* | | | enhanced test environment (including testbench)Rainer Gerhards2009-10-2216-62/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | support for enhancing probability of memory addressing failure by using non-NULL default value for malloced memory (optional, only if requested by configure option). This helps to track down some otherwise undetected issues within the testbench and is expected to be very useful in the future.
* | | | Merge branch 'newqueue'Rainer Gerhards2009-10-217-465/+129
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/queue.c
| * | | | bugfix: message processing states were not set correctly in all casesRainer Gerhards2009-10-193-19/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | however, this had no negative effect, as the message processing state was not evaluated when a batch was deleted, and that was the only case where the state could be wrong.
| * | | | Merge branch 'master' into newqueueRainer Gerhards2009-10-163-9/+20
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | new queue engine - initial commit (probably not 100% working!)Rainer Gerhards2009-10-145-481/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplified and thus speeded up the queue engine, also fixed some potential race conditions (in very unusual shutdown conditions) along the way. The threading model has seriously changes, so there may be some regressions. NOTE: the code passed basic tests, but there is still more work and testing to be done. This commit should be treated with care.
| * | | | | added some debug settings plus improved shutdown sequenceRainer Gerhards2009-10-134-18/+61
| | | | | | | | | | | | | | | | | | | | | | | | ... non-working version!
* | | | | | bugfix: segfault when starting up with an invalid .qi file for a disk queueRainer Gerhards2009-10-201-5/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Failed for both pure disk as well as DA queues. Now, we emit an error message and disable disk queueing facility.
* | | | | | bugfix: first UDP listener was incorrectly assigned its rulesetRainer Gerhards2009-10-191-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this was a regression of the recent imudp multi-ruleset enhancement bug was not in any released version
* | | | | | Merge branch 'david-segfault'Rainer Gerhards2009-10-191-0/+1
|\ \ \ \ \ \
| * | | | | | added new testcase; fixed bug in testdriverRainer Gerhards2009-10-191-0/+1
| | |/ / / / | |/| | | |
* / | | | | cleanup: finally moved some config variables just to conf.cRainer Gerhards2009-10-192-11/+15
|/ / / / /
* | | | | ensure proper imudp shutdown even on a very busy systemRainer Gerhards2009-10-161-0/+1
| | | | |
* | | | | Merge branch 'david-master' into masterRainer Gerhards2009-10-162-9/+19
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/msg.c
| * | | | bugfix: potential segfault on messages with empty MSG part.Rainer Gerhards2009-10-091-3/+14
| | | | | | | | | | | | | | | | | | | | This was a recently introduced regression.
| * | | | bugfix in debug system and more instrumentation to find an issueRainer Gerhards2009-10-082-9/+19
| | | | | | | | | | | | | | | | | | | | | | | | | bugfix: debug string larger than 1K were improperly displayed. Max size is now 32K, and if a string is even longer it is meaningful truncated.
* | | | | added multi-ruleset support to imudpRainer Gerhards2009-10-131-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | | also bumped version number and corrected ChangeLog, where I merged some post 5.3.1 changes into the 5.3.1 section.
* | | | | removed no longer needed msg_t property "bParseHOSTNAME"Rainer Gerhards2009-10-132-4/+1
| | | | |
* | | | | bugfix: potential segfault on messages with empty MSG part.Rainer Gerhards2009-10-091-3/+12
| | | | | | | | | | | | | | | | | | | | This was a recently introduced regression.