Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixed memory leaks in stream class and imfile | Rainer Gerhards | 2008-03-27 | 1 | -9/+19 |
| | |||||
* | fixed some compiler warnings under FreeBSD | Rainer Gerhards | 2008-03-06 | 1 | -2/+2 |
| | |||||
* | did some portability changes to make rsyslog compile on HP UX | Rainer Gerhards | 2008-03-05 | 1 | -0/+1 |
| | |||||
* | - added "debug" command to debug environment settings | Rainer Gerhards | 2008-02-29 | 1 | -0/+20 |
| | | | | | | | | | - 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/+5 |
| | | | | interface structure | ||||
* | - bugfix: queue aborted when it was shut down, DA-enabled, DA mode was just | Rainer Gerhards | 2008-02-27 | 1 | -1/+29 |
| | | | | | | | | | 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: queue disk file were not properly persisted when immediately after | Rainer Gerhards | 2008-02-27 | 1 | -1/+1 |
| | | | | | | | | | 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 | -10/+10 |
| | | | | type | ||||
* | changed rsCStrObj name to cstr_t, which is more inline with the rest of | Rainer Gerhards | 2008-02-21 | 1 | -2/+2 |
| | | | | rsyslog (now) and also much easier to type | ||||
* | 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 | -1/+1 |
| | |||||
* | - added doc on how expressions will work | Rainer Gerhards | 2008-02-19 | 1 | -2/+1 |
| | | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros | ||||
* | - improved file polling algorithm for more rapid file data delivery | Rainer Gerhards | 2008-02-14 | 1 | -1/+1 |
| | | | | - some more cleanup | ||||
* | some cleanup | Rainer Gerhards | 2008-02-13 | 1 | -1/+0 |
| | |||||
* | - fixed a race condition in DoDie() - cosmetic issue in debugging mode, | Rainer Gerhards | 2008-02-13 | 1 | -4/+8 |
| | | | | | could not happen in production - added the ability to persist current read location for the file monitor | ||||
* | added ability to monitor file accross rotation | Rainer Gerhards | 2008-02-13 | 1 | -74/+161 |
| | |||||
* | - introduced a new, more powerful, message submission interface submitMsg() | Rainer Gerhards | 2008-02-13 | 1 | -9/+3 |
| | | | | | | in additon to logmsg() - a first, rough implementation of imfile that is able to read files (but does not persist or handle rotation or whatever) | ||||
* | bugfix: having fun with 32/64 bit portability - after 15 years, I finally | Rainer Gerhards | 2008-01-31 | 1 | -1/+1 |
| | | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms | ||||
* | - implemented limiting disk space allocated to queues | Rainer Gerhards | 2008-01-30 | 1 | -0/+19 |
| | | | | | - addded $MainMsgQueueMaxDiskSpace config directive - addded $ActionQueueMaxDiskSpace config directive | ||||
* | - renamed Msg object to usual all-lowercase object name (else we ran into | Rainer Gerhards | 2008-01-30 | 1 | -16/+3 |
| | | | | | | 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) | ||||
* | redesigned queue to utilize helper classes for threading support. This is | Rainer Gerhards | 2008-01-24 | 1 | -23/+23 |
| | | | | | | 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 | -1/+5 |
| | |||||
* | changed startup of disk assisted mode to allow for higher concurrency, most | Rainer Gerhards | 2008-01-15 | 1 | -1/+1 |
| | | | | | | importantly allow the input to continue enqueue msgs while the disk queue is initialized. This may help somewhat with UDP and other lossy sources | ||||
* | disk assisted queue works quite well, except for startup from disk queue | Rainer Gerhards | 2008-01-15 | 1 | -7/+7 |
| | |||||
* | begin disk assisted queue memory queue modes (not fully implemented yet) | Rainer Gerhards | 2008-01-14 | 1 | -1/+0 |
| | |||||
* | - implemented $MainMsgQueueTimeoutActionCompletion config directive | Rainer Gerhards | 2008-01-14 | 1 | -8/+17 |
| | | | | | | - implemented $MainMsgQueueTimeoutEnqueue config directive - implemented $MainMsgQueueTimeoutShutdown config directive - some cleanup | ||||
* | changed queue shutdown procedure a bit - stage work for queue shutdown | Rainer Gerhards | 2008-01-13 | 1 | -0/+1 |
| | | | | timeout setting | ||||
* | support for reading back persistet queue information completed | Rainer Gerhards | 2008-01-13 | 1 | -8/+56 |
| | |||||
* | partial ability to read a disk queue back in (not completed, but would like | Rainer Gerhards | 2008-01-11 | 1 | -10/+32 |
| | | | | to save source for the weekend) | ||||
* | support for de-serializing strm objects added | Rainer Gerhards | 2008-01-11 | 1 | -1/+39 |
| | |||||
* | queue can now persist disk queue information on immediate shutdown | Rainer Gerhards | 2008-01-11 | 1 | -4/+1 |
| | |||||
* | file stream objects are now persistet on immediate queue shutdown (queue | Rainer Gerhards | 2008-01-11 | 1 | -15/+28 |
| | | | | itself is not yet fully persisted) | ||||
* | - some cleanup | Rainer Gerhards | 2008-01-10 | 1 | -5/+0 |
| | | | | | - implemented management function for worker thread 0 in order to change queue workers dynamically -- stage work | ||||
* | some cleanup | Rainer Gerhards | 2008-01-10 | 1 | -2/+2 |
| | |||||
* | - implemented strm object serializer (untested as the code required for | Rainer Gerhards | 2008-01-10 | 1 | -5/+45 |
| | | | | test is not yet present - hen/egg problem...) | ||||
* | - added write functions for several types to stream class | Rainer Gerhards | 2008-01-10 | 1 | -29/+103 |
| | | | | - changed objSerialize methods to work directly on the stream class | ||||
* | data record support added to stream output writer | Rainer Gerhards | 2008-01-10 | 1 | -19/+71 |
| | |||||
* | added buffered output to stream class | Rainer Gerhards | 2008-01-10 | 1 | -20/+96 |
| | |||||
* | made queue file names better readable | Rainer Gerhards | 2008-01-10 | 1 | -28/+21 |
| | |||||
* | changed queue file name generation (to be more generic) | Rainer Gerhards | 2008-01-10 | 1 | -6/+16 |
| | |||||
* | some cleanup on object model | Rainer Gerhards | 2008-01-09 | 1 | -8/+51 |
| | |||||
* | changed queue class to use stream class | Rainer Gerhards | 2008-01-09 | 1 | -7/+44 |
| | |||||
* | created a generic stream class (for file access) | Rainer Gerhards | 2008-01-09 | 1 | -0/+332 |