summaryrefslogtreecommitdiffstats
path: root/runtime/rsconf.c
Commit message (Collapse)AuthorAgeFilesLines
* fix: ruleset queues were activated too earlyRainer Gerhards2013-11-141-2/+7
| | | | | | | | | This does not cause issues in v7, but here we have the problem that the total number of actions, which now is required for wti sizing, is not available at that early stage. So we needed to delay queue startup until everything is processed (just as it should have been already!). Note the previously we could have a segfault on first message when ruleset queues were used.
* Merge branch 'master' into master-ruleengRainer Gerhards2013-11-071-0/+15
|\
| * emit warning message if output module with msg passing mode runs asynchronouslyRainer Gerhards2013-11-071-0/+15
| |
* | maintain action ids (actionNbr)Rainer Gerhards2013-10-261-0/+1
|/
* cleanup: remove no longer needed codeRainer Gerhards2013-10-241-86/+0
|
* refactor: remove now no-longer needed functionsRainer Gerhards2013-10-231-24/+0
|
* regression fix: global variables could not be accessed via scriptRainer Gerhards2013-10-211-1/+1
|
* Merge branch 'master-lookup'Rainer Gerhards2013-10-131-1/+5
|\ | | | | | | | | | | Conflicts: grammar/rainerscript.h runtime/rsyslog.h
| * milestone: lookup table ready for actual load (but load not yet done)Rainer Gerhards2013-07-091-0/+1
| |
| * milestone: add lookup_table stmt to RainerScriptRainer Gerhards2013-07-091-1/+4
| | | | | | | | ... but still does nothing execpt calling the handler.
* | change main/ruleset queue defaults to be more enterprise-likeRainer Gerhards2013-10-041-7/+7
| | | | | | | | | | | | | | new defaults are queue.size 100,000 max workers 2, worker activation after 40,000 msgs are queued, batch size 256. These settings are much more useful for enterprises and will not hurt low-end systems that much. This is part of our re-focus on enterprise needs.
* | regression fix: message properties did not workRainer Gerhards2013-09-111-1/+1
| | | | | | | | | | This was a regeression from the global/local variabe work done for this release. Consequently, this problem did not occur in any released version.
* | add $!, $., $/ to RSYSLOG_DebugFormatRainer Gerhards2013-07-231-1/+1
| | | | | | | | Thanks to David Lang for the suggestion.
* | fix: global&local variables could not be accessed via RainerScriptRainer Gerhards2013-07-231-2/+2
| | | | | | | | | | also, global variable pool did receive extra variables that did not belong to global pool (problem in last milestone commit)
* | main_queue() config object addedRainer Gerhards2013-07-191-4/+17
|/ | | | doc still missing
* Merge branch 'v7-stable-newmsglock' into master-newmsglockRainer Gerhards2012-12-061-1/+7
|\ | | | | | | | | | | | | Conflicts: runtime/msg.c runtime/queue.c tools/syslogd.c
| * fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-301-1/+1
| | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
| * silence compiler warningsRainer Gerhards2012-11-301-0/+6
| | | | | | | | | | the changes do not affect actual code execution, just keep the compile log clean.
* | refactor error processing in string template handlingRainer Gerhards2012-11-291-1/+2
| |
* | Merge branch 'master-ratelimit'Rainer Gerhards2012-10-301-2/+2
|\ \ | |/ |/|
| * Change debug output defaults to match current needsRainer Gerhards2012-10-151-2/+2
| |
* | Improve syntax error messages by outputting the error tokenRainer Gerhards2012-10-271-1/+2
|/
* bugfix: ruleset(){} directive errornously changed default rulesetRainer Gerhards2012-10-011-0/+2
| | | | | much like the $ruleset legacy conf statement. This potentially lead to statements being assigned to the wrong ruleset.
* Implement RainerScript ruleset() statementRainer Gerhards2012-09-281-0/+3
|
* cleanupRainer Gerhards2012-09-281-5/+1
| | | | | recent enhancement in RainerScript param handlers permit to remove now-redundant code
* Merge branch 'v6-devel'Rainer Gerhards2012-09-271-1/+57
|\ | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c grammar/grammar.y runtime/modules.h runtime/rsconf.c
| * Do not load module if it had errorneous parametersRainer Gerhards2012-09-271-1/+4
| |
| * cleanupRainer Gerhards2012-09-261-2/+0
| |
| * cleanupRainer Gerhards2012-09-261-3/+0
| |
| * input stmt: add core engine plumbingRainer Gerhards2012-09-261-0/+58
| |
* | cosmetic: remove no-longer valid TODO itemRainer Gerhards2012-09-251-1/+0
| |
* | cleanup & better debug outputRainer Gerhards2012-09-241-4/+4
| | | | | | | | | | - removed no longer needed function - debug log now contains action type for action objects
* | Add skeleton for RainerScript optimizerRainer Gerhards2012-09-201-0/+1
| | | | | | | | actual optimization is not yet done
* | Merge branch 'v6-devel'Rainer Gerhards2012-09-201-0/+3
|\|
| * Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-201-0/+3
| |\ | | | | | | | | | | | | Conflicts: ChangeLog
| | * Fix missing Sysklogd templateMilan Bartos2012-09-201-0/+3
| | | | | | | | | | | | modified: runtime/rsconf.c
| * | Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-061-2/+16
| |\|
| | * bugfix: omusrsmsg incorrect return state & config warning handlingRainer Gerhards2012-08-281-2/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During config file processing, Omusrmsg often incorrectly returned a warning status, even when no warning was present (caused by uninitialized variable). Also, the core handled warning messages incorrectly, and treated them as errors. As a result, omusrmsg (most often) could not properly be loaded. Note that this only occurs with legacy config action syntax. This was a regression caused by an incorrect merge in to the 6.3.x codebase. Thanks to Stefano Mason for alerting us of this bug.
* | | new ruleengine: properly remove BSD-style blocksRainer Gerhards2012-09-111-2/+10
| | |
* | | new ruleengine: cleanupRainer Gerhards2012-09-071-53/+0
| | |
* | | new ruleengine: some cleanupRainer Gerhards2012-09-061-38/+0
| | |
* | | new ruleengine: PROP and PRI legacy filter structures properly createdRainer Gerhards2012-09-041-3/+2
| | |
* | | new ruleengine: skeleton for reading conf file in placeRainer Gerhards2012-09-041-0/+8
|/ / | | | | | | code still does not work, actual functions not implemented
* | milestone: LIST-type templates work, but no all options yet presentRainer Gerhards2012-08-251-5/+6
| |
* | milestone: base plumbing for LIST-type templates mostly in placeRainer Gerhards2012-08-251-0/+1
| |
* | v6 config/templates: legacy types are now supported via template()Rainer Gerhards2012-08-251-2/+2
| |
* | add base plumbing for template() config object to grammarRainer Gerhards2012-08-241-0/+10
| |
* | Merge branch 'beta'Rainer Gerhards2012-06-291-1/+1
|\| | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| * Merge branch 'master-elasticsearch' into tmpRainer Gerhards2012-06-291-1/+1
| |\
| | * omelasticsearch: used new property replacer options for default templateRainer Gerhards2012-04-051-1/+1
| | | | | | | | | | | | makes JSON creation far more bulletproof (and also faster)