summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.c
Commit message (Collapse)AuthorAgeFilesLines
* more cleanup...Rainer Gerhards2011-07-111-3/+0
|
* more cleanupRainer Gerhards2011-07-111-5/+0
|
* cleanup, removing now unused codeRainer Gerhards2011-07-111-19/+0
|
* milestone/[PARTWORK]: implemented comparison operationsRainer Gerhards2011-07-081-0/+4
|
* milestone: templates are now in config objectRainer Gerhards2011-04-191-0/+3
|
* renaming conf.* wasn't a good idea -- undoingRainer Gerhards2011-04-191-1/+1
| | | | | too many dependencies, things get cluttered (and merging probably gets problematic). Now new config will be "conf2".
* renamed conf.c to legacyconf.c to make room for new config systemRainer Gerhards2011-04-191-1/+1
|
* Merge branch 'v5.6.2-newimudp' into v5-devel-newimudpRainer Gerhards2011-01-101-0/+18
|\ | | | | | | | | | | Conflicts: plugins/imudp/imudp.c threads.c
| * improved imudp real-time scheduling support & bugfixDražen Kačar2011-01-101-0/+18
| | | | | | | | | | | | | | The original code had quite some issues, which are fixed by this commit. Also we do more error checking now. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | improved statistics-gathering subsystemRainer Gerhards2010-09-131-0/+3
|/ | | | | | | | ... well, actually this is a first real implementation of this subsystem. I have added a counter registry, a way to access the countres (as readable string) and a way to define and maintem them. Also, module impstats has been updated to utilize the new system. Finally, I added some counters. I hope that this sets the baseline for useful future enhancements.
* first implementation of strgen interfaceRainer Gerhards2010-06-011-0/+3
| | | | | and a first built-in strgen module. Some tweaks and more default strgens are needed, but the code doesn't look too bad ;)
* Merge branch 'v4-devel' into masterRainer Gerhards2010-04-271-12/+0
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/Makefile.am runtime/atomic.h runtime/queue.c runtime/queue.h runtime/wti.c runtime/wti.h runtime/wtp.c runtime/wtp.h
| * bugfix: problems with atomic operations emulationRainer Gerhards2010-04-271-12/+0
| | | | | | | | | | | | replaced atomic operation emulation with new code. The previous code seemed to have some issue and also limited concurrency severely. The whole atomic operation emulation has been rewritten.
| * added replacements for atomic instructions on systems that do not support them.Rainer Gerhards2010-03-231-0/+14
| | | | | | | | [backport of Stefen Sledz' patch for v5]
* | emulate missing atomic builtins with posix semaphores if availableSteffen Sledz2010-03-231-0/+14
| | | | | | | | | | Signed-off-by: Steffen Sledz <sledz@dresearch.de> Acked-by: Thilo Fromm <t.fromm@dresearch.de>
* | some light performance enhancementRainer Gerhards2009-11-121-2/+0
| | | | | | | | | | ...by replacing time() call with much faster (at least under linux) gettimeofday() calls.
* | more cleanup and working towards a parser module calling interfaceRainer Gerhards2009-11-031-0/+3
|/ | | | | | 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.
* introduced a new way of handling the RcvFrom propertyRainer Gerhards2009-06-301-2/+2
| | | | | | | | | | | ... plus a fix for a long-time bug in obj-types.h. That lead to the object pointer only then to become NULL when the object was actually destructed, I discovered this issue during introduction of the pRcvFrom property in msg_t, but it potentially had other effects, too. I am not sure if some experienced instability resulted from this bug OR if its fix will cause harm to so-far "correctly" running code. The later may very well be. Thus I will change it only for the current branch and also the beta, but not in all old builds. Let's see how things evolve.
* introduced the idea of detached propertiesRainer Gerhards2009-06-291-0/+3
| | | | | | | | | | | | | some things inside the message can be used over a large number of messages and need to to be allocated and re-written every time. I now begin to implement this as a "prop_t" object, first use for the inputName. Some input modules are already converted, some others to go. Will do a little performance check on the new method before I go further. Also, this commit has some cleanup and a few bug fixes that prevented compiliation in debug mode (I overlooked this as I did not compile for debug, what I normally do, and the automatted test also does not do that)
* completed multi-ruleset core supportRainer Gerhards2009-06-121-10/+10
| | | | ... as well as added multi-ruleset support for imtcp
* restructered code in perparation for multiple rule set supportRainer Gerhards2009-06-101-0/+8
| | | | | | | ... this was long overdue, and I finlly tackeld it. It turned out to be more complex than I initially thought. The next step now probably is to actually implement multiple rule sets and the beauty that comes with them.
* cleaned up stream class ...Rainer Gerhards2009-06-041-2/+0
| | | | | | ... and also made it callable via an rsyslog interface rather then relying on the OS loader (important if we go for using it inside loadbale modules, which we soon possible will)
* 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 (internal) error codes to error messagesRainer Gerhards2008-06-271-5/+5
| | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20
* bugfix: a recent change effectively disabled error messagesRainer Gerhards2008-04-181-0/+13
|
* completed better modularity of runtimeRainer Gerhards2008-04-171-0/+20
| | | | | | | | | | - added the ability to specify an error log function for the runtime - removed dependency of core runtime on dirty.h Note that it is "better" modularity, not perfect. There is still work to do, but I think we can for the time being proceed with other things.
* moved "glblModPath" variable inside global data poolRainer Gerhards2008-04-171-0/+3
| | | | (but still as a variable, not part of glbl object)
* modularization workRainer Gerhards2008-04-171-3/+23
| | | | | cleanup + created an abstract class for global data items and moved glblGetWorkDir to it
* prevented segfault during runtime library init phaseRainer Gerhards2008-04-161-0/+15
|
* provided ability to initialize the runtimeRainer Gerhards2008-04-161-0/+166