Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - added RSYSLOGD_MODDIR environment variable | Rainer Gerhards | 2008-03-07 | 1 | -1/+2 |
| | | | | | - added -M rsyslogd option (allows to specify module directory location) - converted net.c into a loadable library plugin | ||||
* | - extracted logerror*() family of functions from syslogd, made them their | Rainer Gerhards | 2008-03-05 | 1 | -1/+10 |
| | | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module | ||||
* | - changed modules.c calling conventions to be interface-based | Rainer Gerhards | 2008-03-05 | 1 | -10/+13 |
| | | | | | | | | | | | - moved module loader from conf.c to module.c, where it belongs - made the necessary plumbing to auto-load library modules - upgraded debug system to include iRet in function exit message - changed module interface so that instances need only to be supported by output plugins (if we actually need them for input plugins, we can always add it again...) - milestone: first implementation of library modules (but do not get unloaded on exit/hup so far) | ||||
* | fixed newly introduced bugs in imgssapi and imtcp and their helpers now | Rainer Gerhards | 2008-03-03 | 1 | -1/+7 |
| | | | | plain tcp works again | ||||
* | - added class tcps | Rainer Gerhards | 2008-03-02 | 1 | -1/+0 |
| | | | | | | - added class tcps_sess - changed imtcp to use new classes; seems to work; imgssapi currently broken | ||||
* | converted conf.c to an abstract class | Rainer Gerhards | 2008-02-29 | 1 | -4/+16 |
| | |||||
* | corrected invalid function definition | Rainer Gerhards | 2008-02-29 | 1 | -1/+1 |
| | |||||
* | - added "debug" command to debug environment settings | Rainer Gerhards | 2008-02-29 | 1 | -53/+202 |
| | | | | | | | | | - 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 | -18/+112 |
| | | | | interface structure | ||||
* | - bugfix: queue aborted when it was shut down, DA-enabled, DA mode was just | Rainer Gerhards | 2008-02-27 | 1 | -1/+7 |
| | | | | | | | | | initiated but not fully initialized (a race condition) - bugfix: queue properties sizeOnDisk, bytesRead were persisted to disk with wrong data type (long instead of int64) - could cause problems on 32 bit machines - fixed a problem introduced today, on-disk queue size was now wrongly calculated (but not in any released version) | ||||
* | bugfix: object property deserializer did not handle negative numbers | Rainer Gerhards | 2008-02-27 | 1 | -1/+15 |
| | |||||
* | bugfix: queue disk file were not properly persisted when immediately after | Rainer Gerhards | 2008-02-27 | 1 | -1/+3 |
| | | | | | | | | | closing an output file rsyslog was stopped or huped (the new output file open must NOT have happend at that point) - this lead to a sparse and invalid queue file which could cause several problems to the engine (unpredictable results). This situation should have happened only in very rare cases. tracker: http://bugzilla.adiscon.com/show_bug.cgi?id=40 | ||||
* | simplified var object, now only supports strings and numbers as a single | Rainer Gerhards | 2008-02-22 | 1 | -37/+33 |
| | | | | type | ||||
* | first steps in implementing object interfaces (stage work for later dynamic | Rainer Gerhards | 2008-02-21 | 1 | -6/+16 |
| | | | | class loading) | ||||
* | cleanup for 3.11.4v3-11-4 | Rainer Gerhards | 2008-02-21 | 1 | -0/+6 |
| | |||||
* | changed rsCStrObj name to cstr_t, which is more inline with the rest of | Rainer Gerhards | 2008-02-21 | 1 | -4/+4 |
| | | | | rsyslog (now) and also much easier to type | ||||
* | used new classes in expr.c | Rainer Gerhards | 2008-02-20 | 1 | -2/+0 |
| | |||||
* | changed rsCStrDestruct() to use the new interface conventions | Rainer Gerhards | 2008-02-20 | 1 | -1/+1 |
| | |||||
* | created var class out of property_t | Rainer Gerhards | 2008-02-20 | 1 | -30/+26 |
| | |||||
* | - added doc on how expressions will work | Rainer Gerhards | 2008-02-19 | 1 | -4/+2 |
| | | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros | ||||
* | - renamed Msg object to usual all-lowercase object name (else we ran into | Rainer Gerhards | 2008-01-30 | 1 | -0/+15 |
| | | | | | | 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) | ||||
* | added ability to re-enqueue objects into the queue when a worker thread is | Rainer Gerhards | 2008-01-29 | 1 | -1/+3 |
| | | | | cancelled | ||||
* | implemented naming for all objects (mostly as a debug aid, but you never | Rainer Gerhards | 2008-01-29 | 1 | -1/+61 |
| | | | | 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 | -18/+18 |
| | | | | | | 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... | ||||
* | worker shutdown sequence enhanced to try different ways to shut down and | Rainer Gerhards | 2008-01-14 | 1 | -1/+0 |
| | | | | | terminate workers if none helps (this protects against badly written output plugins which hold the queue for too long) | ||||
* | support for reading back persistet queue information completed | Rainer Gerhards | 2008-01-13 | 1 | -2/+10 |
| | |||||
* | partial ability to read a disk queue back in (not completed, but would like | Rainer Gerhards | 2008-01-11 | 1 | -3/+51 |
| | | | | to save source for the weekend) | ||||
* | added function to de-serialize a property bag (untested as other code is | Rainer Gerhards | 2008-01-11 | 1 | -19/+80 |
| | | | | yet missing) | ||||
* | queue can now persist disk queue information on immediate shutdown | Rainer Gerhards | 2008-01-11 | 1 | -1/+1 |
| | |||||
* | support for object property bags added | Rainer Gerhards | 2008-01-11 | 1 | -14/+40 |
| | |||||
* | file stream objects are now persistet on immediate queue shutdown (queue | Rainer Gerhards | 2008-01-11 | 1 | -3/+5 |
| | | | | itself is not yet fully persisted) | ||||
* | 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 | -78/+57 |
| | | | | - changed objSerialize methods to work directly on the stream class | ||||
* | some cleanup on object model | Rainer Gerhards | 2008-01-09 | 1 | -29/+30 |
| | |||||
* | completed object deserializer | Rainer Gerhards | 2008-01-08 | 1 | -15/+46 |
| | |||||
* | - first implementation of "disk" queue mode finished. It still needs some | Rainer Gerhards | 2008-01-08 | 1 | -9/+73 |
| | | | | | | | 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 | ||||
* | implemented queue disk reader to switch to multiple files | Rainer Gerhards | 2008-01-08 | 1 | -2/+1 |
| | |||||
* | worked a bit more on the queue, disk dequeing part (not complete yet) | Rainer Gerhards | 2008-01-07 | 1 | -0/+2 |
| | |||||
* | - MsgSetProperty() implemented | Rainer Gerhards | 2008-01-07 | 1 | -7/+275 |
| | | | | | - defined a property class - implemented deserializer (needs some more work) | ||||
* | implemented class type registry | Rainer Gerhards | 2008-01-07 | 1 | -0/+32 |
| | |||||
* | implemented disk queue as far as I could without an object de-serializer | Rainer Gerhards | 2008-01-07 | 1 | -2/+2 |
| | |||||
* | performance-tuned stringbuf class | Rainer Gerhards | 2008-01-07 | 1 | -4/+11 |
| | |||||
* | worked on object header (now also contains the size) | Rainer Gerhards | 2008-01-06 | 1 | -30/+54 |
| | |||||
* | completed serializer for msg (but needs review) | Rainer Gerhards | 2008-01-06 | 1 | -1/+32 |
| | |||||
* | worked a bit on object serialization | Rainer Gerhards | 2008-01-06 | 1 | -1/+122 |
| | |||||
* | utilized the new auto-destruction capability so that the queue can now | Rainer Gerhards | 2008-01-04 | 1 | -1/+2 |
| | | | | destruct user objects if needed | ||||
* | - begun some work on Msg Object serializiation | Rainer Gerhards | 2008-01-04 | 1 | -0/+97 |
- created a kind of general base class |