Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added new poperty replacer option, added missing documentation | Rainer Gerhards | 2008-07-18 | 1 | -0/+26 |
| | | | | | | | | | | | | | | | | | | - added a new property replacer option "sp-if-no-1st-sp" to cover a problem with RFC 3164 based interpreation of tag separation. While it is a generic approach, it fixes a format problem introduced in 3.18.0, where kernel messages no longer had a space after the tag. This is done by a modifcation of the default templates. Please note that this may affect some messages where there intentionally is no space between the tag and the first character of the message content. If so, this needs to be worked around via a specific template. However, we consider this scenario to be quite remote and, even if it exists, it is not expected that it will actually cause problems with log parsers (instead, we assume the new default template behaviour may fix previous problems with log parsers due to the missing space). - doc bugfix: property replacer options secpath-replace and secpath-drop were not documented | ||||
* | bugfix: priority was incorrectly calculated on FreeBSD 7 | Rainer Gerhards | 2008-07-14 | 1 | -6/+10 |
| | | | | | | | because the LOG_MAKEPRI() C macro has a different meaning there (it is just a simple addition of faciltity and severity). I have changed this to use own, consistent, code for PRI calculation. [Backport from 3.19.10] | ||||
* | bugfix: potential segfault in creating message mutex in non-direct queue mode. | Rainer Gerhards | 2008-07-14 | 1 | -2/+29 |
| | | | | | | | | | | rsyslogd segfaults on freeeBSD 7.0 (an potentially other platforms) if an action queue is running in any other mode than non-direct. The same problem can potentially be triggered by some main message queue settings. In any case, it will manifest during rsylog's startup. It is unlikely to happen after a successful startup (the only window of exposure may be a relatively seldom executed action running in queued mode). This has been corrected. Thank to HKS for point out the problem. | ||||
* | properties are now case-insensitive everywhere (script, filters, templates) | Rainer Gerhards | 2008-04-03 | 1 | -20/+20 |
| | |||||
* | worked a bit on atomic memory operations to support problem-free threading | Rainer Gerhards | 2008-03-31 | 1 | -4/+15 |
| | | | | (only at non-intrusive places) | ||||
* | - bugfix: regular expressions inside property replacer did not work | Rainer Gerhards | 2008-03-28 | 1 | -6/+5 |
| | | | | properly | ||||
* | bugfix: QHOUR and HHOUR properties were wrongly calculated | Rainer Gerhards | 2008-03-26 | 1 | -2/+2 |
| | |||||
* | added $HHOUR and $QHOUR system properties - can be used for half- and | Rainer Gerhards | 2008-03-25 | 1 | -1/+17 |
| | | | | quarter-hour logfile rotation | ||||
* | added advanced flow control for congestion cases (mode depending on message | Rainer Gerhards | 2008-03-14 | 1 | -0/+19 |
| | | | | source and its capablity to be delayed without bad side effects) | ||||
* | renamed library module file names to lm*, so that they match the overall | Rainer Gerhards | 2008-03-07 | 1 | -1/+1 |
| | | | | scheme (like im* and om*) | ||||
* | fixed potential infinite loop condition when module load failed on startup | Rainer Gerhards | 2008-03-07 | 1 | -1/+1 |
| | |||||
* | extracted regexp functionality to its own dynamically loadable module | Rainer Gerhards | 2008-03-07 | 1 | -26/+43 |
| | |||||
* | moved date/time handling functions to their own object | Rainer Gerhards | 2008-03-05 | 1 | -12/+15 |
| | |||||
* | did some portability changes to make rsyslog compile on HP UX | Rainer Gerhards | 2008-03-05 | 1 | -3/+7 |
| | |||||
* | - added "debug" command to debug environment settings | Rainer Gerhards | 2008-02-29 | 1 | -1/+4 |
| | | | | | | | | | - changed the object/interface system to use a new way of calling, giving up the numerical object ID. This was necessary as we needed more extensibility for third-party modules (which don't play at all with the previous fixed object ID). This is stage work for the object loader. Please note that I needed to change the object (de)serializer, I can't outrule that I have introduced bugs there. | ||||
* | changed obj base object's calling interface to use the new obj_if_t | Rainer Gerhards | 2008-02-29 | 1 | -3/+3 |
| | | | | interface structure | ||||
* | - added PUSHMSGVAR operation | Rainer Gerhards | 2008-02-25 | 1 | -0/+47 |
| | | | | - included expression support in filter module (and it works ;)) | ||||
* | simplified var object, now only supports strings and numbers as a single | Rainer Gerhards | 2008-02-22 | 1 | -14/+14 |
| | | | | type | ||||
* | changed rsCStrObj name to cstr_t, which is more inline with the rest of | Rainer Gerhards | 2008-02-21 | 1 | -1/+1 |
| | | | | rsyslog (now) and also much easier to type | ||||
* | changed rsCStrDestruct() to use the new interface conventions | Rainer Gerhards | 2008-02-20 | 1 | -7/+6 |
| | |||||
* | created var class out of property_t | Rainer Gerhards | 2008-02-20 | 1 | -1/+1 |
| | |||||
* | - added doc on how expressions will work | Rainer Gerhards | 2008-02-19 | 1 | -34/+34 |
| | | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros | ||||
* | - implemented simple output rate limiting | Rainer Gerhards | 2008-01-30 | 1 | -2/+3 |
| | | | | | | - addded $ActionQueueDequeueSlowdown config directive - addded $MainMsgQueueDequeueSlowdown config directive - bugfix: MsgDup() did not work with new base object data structure | ||||
* | - renamed Msg object to usual all-lowercase object name (else we ran into | Rainer Gerhards | 2008-01-30 | 1 | -78/+68 |
| | | | | | | troubles with the framework, also it was somewhat ugly...) - fixed a memory leak in object destruction (was recently introduced by object naming, not present in any released version) | ||||
* | implemented naming for all objects (mostly as a debug aid, but you never | Rainer Gerhards | 2008-01-29 | 1 | -1/+1 |
| | | | | know what else it will be good for) | ||||
* | redesigned queue to utilize helper classes for threading support. This is | Rainer Gerhards | 2008-01-24 | 1 | -16/+20 |
| | | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS... | ||||
* | worked on threading | Rainer Gerhards | 2008-01-17 | 1 | -4/+9 |
| | |||||
* | begin disk assisted queue memory queue modes (not fully implemented yet) | Rainer Gerhards | 2008-01-14 | 1 | -2/+0 |
| | |||||
* | implemented $MainMsgQueueDiscardMar and $MainMsgQueueDiscardSeverity (but | Rainer Gerhards | 2008-01-14 | 1 | -0/+15 |
| | | | | serverity needs to be specified numerically for the time being) | ||||
* | partial ability to read a disk queue back in (not completed, but would like | Rainer Gerhards | 2008-01-11 | 1 | -0/+2 |
| | | | | to save source for the weekend) | ||||
* | support for de-serializing strm objects added | Rainer Gerhards | 2008-01-11 | 1 | -1/+1 |
| | |||||
* | changed some config parameters and some cleanup | Rainer Gerhards | 2008-01-10 | 1 | -1/+1 |
| | |||||
* | - added write functions for several types to stream class | Rainer Gerhards | 2008-01-10 | 1 | -29/+25 |
| | | | | - changed objSerialize methods to work directly on the stream class | ||||
* | completed deserialization support in msg object (but not deserializer | Rainer Gerhards | 2008-01-08 | 1 | -7/+17 |
| | | | | itself) | ||||
* | - first implementation of "disk" queue mode finished. It still needs some | Rainer Gerhards | 2008-01-08 | 1 | -0/+13 |
| | | | | | | | work and the deserializer needs also to be expanded, but the queue at least performs well now. - fixed a race condition that could occur when input modules were terminated | ||||
* | - MsgSetProperty() implemented | Rainer Gerhards | 2008-01-07 | 1 | -10/+57 |
| | | | | | - defined a property class - implemented deserializer (needs some more work) | ||||
* | implemented class type registry | Rainer Gerhards | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | performance-tuned stringbuf class | Rainer Gerhards | 2008-01-07 | 1 | -1/+1 |
| | |||||
* | worked on object header (now also contains the size) | Rainer Gerhards | 2008-01-06 | 1 | -8/+5 |
| | |||||
* | completed serializer for msg (but needs review) | Rainer Gerhards | 2008-01-06 | 1 | -36/+23 |
| | |||||
* | worked a bit on object serialization | Rainer Gerhards | 2008-01-06 | 1 | -13/+22 |
| | |||||
* | added the "direct" queueing mode to queue class (no queing at all) | Rainer Gerhards | 2008-01-05 | 1 | -0/+2 |
| | |||||
* | added capability for concurrent access to the msg class. Can be dynamically | Rainer Gerhards | 2008-01-05 | 1 | -99/+256 |
| | | | | activated. If active, locking is employed. | ||||
* | changed queue object Construction/Startup interface | Rainer Gerhards | 2008-01-04 | 1 | -2/+1 |
| | |||||
* | moved message destruction back to consumer - the consume should decide what | Rainer Gerhards | 2008-01-04 | 1 | -2/+0 |
| | | | | | to do with the object. It may pass it on to someone else. So this would have creatd some headache in the future (maybe...). | ||||
* | utilized the new auto-destruction capability so that the queue can now | Rainer Gerhards | 2008-01-04 | 1 | -5/+7 |
| | | | | destruct user objects if needed | ||||
* | removed serialization pointer from queue; used new base class instead | Rainer Gerhards | 2008-01-04 | 1 | -0/+3 |
| | |||||
* | - begun some work on Msg Object serializiation | Rainer Gerhards | 2008-01-04 | 1 | -0/+66 |
| | | | | - created a kind of general base class | ||||
* | some cleanup | Rainer Gerhards | 2007-12-27 | 1 | -1/+1 |
| | |||||
* | changed license to GPLv3 (for what is to become rsyslog v3) | Rainer Gerhards | 2007-12-14 | 1 | -7/+8 |
| |