summaryrefslogtreecommitdiffstats
path: root/runtime/rsyslog.c
Commit message (Collapse)AuthorAgeFilesLines
* 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