summaryrefslogtreecommitdiffstats
path: root/msg.c
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: QHOUR and HHOUR properties were wrongly calculatedRainer Gerhards2008-03-261-2/+2
|
* added $HHOUR and $QHOUR system properties - can be used for half- andRainer Gerhards2008-03-251-1/+17
| | | | quarter-hour logfile rotation
* added advanced flow control for congestion cases (mode depending on messageRainer Gerhards2008-03-141-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 overallRainer Gerhards2008-03-071-1/+1
| | | | scheme (like im* and om*)
* fixed potential infinite loop condition when module load failed on startupRainer Gerhards2008-03-071-1/+1
|
* extracted regexp functionality to its own dynamically loadable moduleRainer Gerhards2008-03-071-26/+43
|
* moved date/time handling functions to their own objectRainer Gerhards2008-03-051-12/+15
|
* did some portability changes to make rsyslog compile on HP UXRainer Gerhards2008-03-051-3/+7
|
* - added "debug" command to debug environment settingsRainer Gerhards2008-02-291-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_tRainer Gerhards2008-02-291-3/+3
| | | | interface structure
* - added PUSHMSGVAR operationRainer Gerhards2008-02-251-0/+47
| | | | - included expression support in filter module (and it works ;))
* simplified var object, now only supports strings and numbers as a singleRainer Gerhards2008-02-221-14/+14
| | | | type
* changed rsCStrObj name to cstr_t, which is more inline with the rest ofRainer Gerhards2008-02-211-1/+1
| | | | rsyslog (now) and also much easier to type
* changed rsCStrDestruct() to use the new interface conventionsRainer Gerhards2008-02-201-7/+6
|
* created var class out of property_tRainer Gerhards2008-02-201-1/+1
|
* - added doc on how expressions will workRainer Gerhards2008-02-191-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 limitingRainer Gerhards2008-01-301-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 intoRainer Gerhards2008-01-301-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 neverRainer Gerhards2008-01-291-1/+1
| | | | know what else it will be good for)
* redesigned queue to utilize helper classes for threading support. This isRainer Gerhards2008-01-241-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 threadingRainer Gerhards2008-01-171-4/+9
|
* begin disk assisted queue memory queue modes (not fully implemented yet)Rainer Gerhards2008-01-141-2/+0
|
* implemented $MainMsgQueueDiscardMar and $MainMsgQueueDiscardSeverity (butRainer Gerhards2008-01-141-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 likeRainer Gerhards2008-01-111-0/+2
| | | | to save source for the weekend)
* support for de-serializing strm objects addedRainer Gerhards2008-01-111-1/+1
|
* changed some config parameters and some cleanupRainer Gerhards2008-01-101-1/+1
|
* - added write functions for several types to stream classRainer Gerhards2008-01-101-29/+25
| | | | - changed objSerialize methods to work directly on the stream class
* completed deserialization support in msg object (but not deserializerRainer Gerhards2008-01-081-7/+17
| | | | itself)
* - first implementation of "disk" queue mode finished. It still needs someRainer Gerhards2008-01-081-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() implementedRainer Gerhards2008-01-071-10/+57
| | | | | - defined a property class - implemented deserializer (needs some more work)
* implemented class type registryRainer Gerhards2008-01-071-1/+1
|
* performance-tuned stringbuf classRainer Gerhards2008-01-071-1/+1
|
* worked on object header (now also contains the size)Rainer Gerhards2008-01-061-8/+5
|
* completed serializer for msg (but needs review)Rainer Gerhards2008-01-061-36/+23
|
* worked a bit on object serializationRainer Gerhards2008-01-061-13/+22
|
* added the "direct" queueing mode to queue class (no queing at all)Rainer Gerhards2008-01-051-0/+2
|
* added capability for concurrent access to the msg class. Can be dynamicallyRainer Gerhards2008-01-051-99/+256
| | | | activated. If active, locking is employed.
* changed queue object Construction/Startup interfaceRainer Gerhards2008-01-041-2/+1
|
* moved message destruction back to consumer - the consume should decide whatRainer Gerhards2008-01-041-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 nowRainer Gerhards2008-01-041-5/+7
| | | | destruct user objects if needed
* removed serialization pointer from queue; used new base class insteadRainer Gerhards2008-01-041-0/+3
|
* - begun some work on Msg Object serializiationRainer Gerhards2008-01-041-0/+66
| | | | - created a kind of general base class
* some cleanupRainer Gerhards2007-12-271-1/+1
|
* changed license to GPLv3 (for what is to become rsyslog v3)Rainer Gerhards2007-12-141-7/+8
|
* some cleanup (very minor)Rainer Gerhards2007-12-121-2/+2
|
* fix for memory leak with PostgreSQL date format was incomplete - corectedRainer Gerhards2007-12-121-0/+2
|
* fixed a small memory leak that happend when PostgreSQL date formatting wasRainer Gerhards2007-12-111-0/+2
| | | | used
* added Bartosz Kuzma patches for better compatibility with NetBSD - manyRainer Gerhards2007-12-031-1/+1
| | | | thanks for them!
* adding sur5r's postgres module - many thanks for providing it! There are aRainer Gerhards2007-12-031-1/+25
| | | | | number of patches necessary to core modules, because we need a new formatting function (date-pgsql).
* moved syslog PRI code tables to msg.c as this is the only place where theyRainer Gerhards2007-11-271-0/+44
| | | | are still needed