Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - changed modules.c calling conventions to be interface-based | Rainer Gerhards | 2008-03-05 | 1 | -1/+3 |
| | | | | | | | | | | | - 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) | ||||
* | did some portability changes to make rsyslog compile on HP UX | Rainer Gerhards | 2008-03-05 | 1 | -0/+4 |
| | |||||
* | - changed module interface to support querying obj interface (stage work) | Rainer Gerhards | 2008-03-04 | 1 | -0/+2 |
| | | | | - changed module interface version, as the interface change is quite large | ||||
* | fixed newly introduced bugs in imgssapi and imtcp and their helpers now | Rainer Gerhards | 2008-03-03 | 1 | -0/+1 |
| | | | | plain tcp works again | ||||
* | - added "debug" command to debug environment settings | Rainer Gerhards | 2008-02-29 | 1 | -0/+2 |
| | | | | | | | | | - 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. | ||||
* | bugfix: object property deserializer did not handle negative numbers | Rainer Gerhards | 2008-02-27 | 1 | -1/+2 |
| | |||||
* | - added sysvar class | Rainer Gerhards | 2008-02-25 | 1 | -0/+5 |
| | | | | - added PUSHSYSVAR operation to vm | ||||
* | - added some thoughts on RainerScript | Rainer Gerhards | 2008-02-24 | 1 | -1/+3 |
| | | | | - worked a bit on conversion functions | ||||
* | worked a bit on type conversion (specified the interface) | Rainer Gerhards | 2008-02-22 | 1 | -0/+1 |
| | |||||
* | begun implementing rsyslog virtual machine (vm class) | Rainer Gerhards | 2008-02-22 | 1 | -0/+1 |
| | |||||
* | completed initial vmstk implementation | Rainer Gerhards | 2008-02-22 | 1 | -0/+2 |
| | |||||
* | first steps in implementing object interfaces (stage work for later dynamic | Rainer Gerhards | 2008-02-21 | 1 | -0/+1 |
| | | | | class loading) | ||||
* | - begun implementation of expression parsing logic | Rainer Gerhards | 2008-02-19 | 1 | -0/+3 |
| | | | | - implemented, simpstr, var, number in tokenizer | ||||
* | implemented initial tokenizer (stage work for expr parser) | Rainer Gerhards | 2008-02-19 | 1 | -0/+1 |
| | |||||
* | - implemented $ActionLibdbiDriverDirectory config directive | Rainer Gerhards | 2008-02-15 | 1 | -0/+1 |
| | | | | | - some cleanup - doc improvements | ||||
* | did some more work on omlibdbi, but did not yet get libdbi working. I guess | Rainer Gerhards | 2008-02-15 | 1 | -0/+1 |
| | | | | its a compile problem, but have not found it so far. | ||||
* | error handling and cleanup in imfile | Rainer Gerhards | 2008-02-14 | 1 | -0/+2 |
| | |||||
* | done some more work on omsnmp to bring it fully in line with recent rsyslog | Rainer Gerhards | 2008-02-11 | 1 | -2/+2 |
| | | | | developments | ||||
* | bugfix: having fun with 32/64 bit portability - after 15 years, I finally | Rainer Gerhards | 2008-01-31 | 1 | -0/+5 |
| | | | | | was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms | ||||
* | cleanup to prepare for release | Rainer Gerhards | 2008-01-28 | 1 | -0/+1 |
| | |||||
* | redesigned queue to utilize helper classes for threading support. This is | Rainer Gerhards | 2008-01-24 | 1 | -5/+6 |
| | | | | | | 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... | ||||
* | fixed sync issue on shutdown process if need to persist pure memory queue | Rainer Gerhards | 2008-01-17 | 1 | -1/+1 |
| | | | | to disk | ||||
* | worked on threading | Rainer Gerhards | 2008-01-17 | 1 | -1/+1 |
| | |||||
* | implemented dynamic startup and shutdown of worker threads based on current | Rainer Gerhards | 2008-01-16 | 1 | -0/+1 |
| | | | | activity | ||||
* | - implemented $MainMsgQueueDiscardMark == 0 --> disable Discard logic | Rainer Gerhards | 2008-01-14 | 1 | -0/+1 |
| | | | | - implemented $MainMsgQueueSize == 0 --> no limit on queue size | ||||
* | worker shutdown sequence enhanced to try different ways to shut down and | Rainer Gerhards | 2008-01-14 | 1 | -0/+1 |
| | | | | | 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 | -1/+5 |
| | |||||
* | 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 | -0/+1 |
| | |||||
* | added function to de-serialize a property bag (untested as other code is | Rainer Gerhards | 2008-01-11 | 1 | -0/+1 |
| | | | | yet missing) | ||||
* | some cleanup | Rainer Gerhards | 2008-01-10 | 1 | -4/+4 |
| | |||||
* | changed queue class to use stream class | Rainer Gerhards | 2008-01-09 | 1 | -1/+1 |
| | |||||
* | implemented queue object method to set the file name prefix | Rainer Gerhards | 2008-01-09 | 1 | -0/+1 |
| | |||||
* | - implemented new GetSize() handler for config files | Rainer Gerhards | 2008-01-09 | 1 | -0/+1 |
| | | | | - implemented $MainMsgQueueMaxFileSize configuration directive | ||||
* | - MsgSetProperty() implemented | Rainer Gerhards | 2008-01-07 | 1 | -0/+9 |
| | | | | | - defined a property class - implemented deserializer (needs some more work) | ||||
* | implemented class type registry | Rainer Gerhards | 2008-01-07 | 1 | -0/+1 |
| | |||||
* | implemented buffered read calls for the queue file | Rainer Gerhards | 2008-01-07 | 1 | -0/+2 |
| | |||||
* | queue is now a full object and handles threading by itself | Rainer Gerhards | 2008-01-03 | 1 | -0/+1 |
| | |||||
* | took TCPSend() apart and made it generic via function pointers | Rainer Gerhards | 2007-12-28 | 1 | -0/+4 |
| | |||||
* | code cleanups thanks to Michael Biebl | Rainer Gerhards | 2007-12-18 | 1 | -4/+0 |
| | | | | ---------------------------------------------------------------------- | ||||
* | - implemented afterRun input module interface function | Rainer Gerhards | 2007-12-17 | 1 | -0/+1 |
| | | | | - implemented $klogSymbolsTwice config directive | ||||
* | implemented $MarkMessagePeriod config directive | Rainer Gerhards | 2007-12-17 | 1 | -0/+1 |
| | |||||
* | moved thread termination code out to threads.c | Rainer Gerhards | 2007-12-17 | 1 | -0/+1 |
| | |||||
* | changed license to GPLv3 (for what is to become rsyslog v3) | Rainer Gerhards | 2007-12-14 | 1 | -0/+19 |
| | |||||
* | - added an identifier to command handler table - need to identify which | Rainer Gerhards | 2007-11-21 | 1 | -0/+1 |
| | | | | | | | | | | command handler entries need to be removed when module is unloaded - added support so that linkedlist key can be used for owner handle - enhanced llExecFunc to support deletion of list elements (on behalf of user function being called, slight interface change) - enhanced linkedlist class so that list elements can now be deleted based on the key value they have - created entry point so that CfSysLine handlers are removed on modExit() | ||||
* | split the function cvthname() for clarity. Also changed to using the | Rainer Gerhards | 2007-09-18 | 1 | -0/+3 |
| | | | | rsRetVal status return system | ||||
* | - changed part of the CStr interface so that better error tracking is | Rainer Gerhards | 2007-09-05 | 1 | -0/+2 |
| | | | | | | | provided and the calling sequence is more intuitive (there were invalid calls based on a too-weired interface) - (hopefully) fixed some remaining bugs rooted in wrong use of the CStr class. These could lead to program abort. | ||||
* | applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1 | Michael Meckelein | 2007-08-22 | 1 | -3/+5 |
| | | | | release | ||||
* | optimized select handling, after select polling cycle is now finished when | Rainer Gerhards | 2007-08-08 | 1 | -0/+1 |
| | | | | all active selectors are processed | ||||
* | - I found out that we finally have problems with the (somewhat recursive) | Rainer Gerhards | 2007-08-03 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | call to logerror() that many of the modules do. I have not tried it, but I think things will become wild when we compile without pthread support. Threading prevents full recursion, so we have not seen any bad effects so far. However, the problems that I experienced in ommysl (that caused me to re-structure startWorker()) are actually rooted in this issue. I first thought to fix it via a module interace, but I now came to the conclusion that it is not more effort and much cleaner to do an internal error buffering class. This is implemented in errbuf.c/h. - I just noticed that this is not actually an error buf, but the core of an input module for all internal messages. As such, I implement it now as iminternal.c/h. Of course, there is no input module interface yet designed, but that doesn't matter. Worst-case, I need to re-write the im, best case I can use the im (at least partly) to define the interface. - added a few functions to the linkedlist class - error messages during startup are now buffered - so we do no longer need to think about how emergency logging might work. Actually, these are logged to whatever is instatiated in the log file. This enhances the chance that we will be able to drop the error message somewhere it is seen. |