Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | - added CODE_STD_FINALIZERparseSelectorAct to module-generation macros | Rainer Gerhards | 2007-08-03 | 1 | -0/+1 |
| | | | | | | - restructered rsyslogd startup - moved startWorker() to a more appropriate place - updated ommysql.c to fully support suspension/resumption by rule engine | ||||
* | - some more code cleanup | Rainer Gerhards | 2007-08-01 | 1 | -0/+1 |
| | | | | - enhanced cfsysline interface to disallow chaining of command handlers | ||||
* | - got the basic code in place to create an in-memory list of cfsysline | Rainer Gerhards | 2007-07-31 | 1 | -0/+3 |
| | | | | handlers (omfile.c used as testing case) -- not yet in active code | ||||
* | prepared cfsysline.c for integration into output modules | Rainer Gerhards | 2007-07-31 | 1 | -2/+0 |
| | |||||
* | added some more functions to linkedList class | Rainer Gerhards | 2007-07-31 | 1 | -0/+2 |
| | |||||
* | added a generic linked list object (files linkedlist.h/c) | Rainer Gerhards | 2007-07-31 | 1 | -0/+1 |
| | |||||
* | moved code to open config file into separate function processConfFile() | Rainer Gerhards | 2007-07-31 | 1 | -0/+1 |
| | |||||
* | - added macro to abort a function and go to finalizer | Rainer Gerhards | 2007-07-31 | 1 | -1/+5 |
| | | | | - added output of config file line number when a parsing error occured | ||||
* | - added doGetInt() to cfsysline.c and adapted dynaFileChaceSize handler to | Rainer Gerhards | 2007-07-31 | 1 | -0/+3 |
| | | | | use it | ||||
* | - moved umask & file/dir creation mode parsing to cfsysline.c | Rainer Gerhards | 2007-07-31 | 1 | -0/+6 |
| | | | | - added macro for easy and consistent check of iRet return value | ||||
* | - added omsr object (objomsr.c, objomsr.h) - template request for output | Rainer Gerhards | 2007-07-27 | 1 | -0/+1 |
| | | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully | ||||
* | - implemented needUDPSocket() interface | Rainer Gerhards | 2007-07-26 | 1 | -0/+3 |
| | | | | | | | | - replaced (mis) use of f_prevcount in omfwd.c -> now data element in instance data is used for retry counting - removed f->f_type from syslogd.c, omfwd.c - removed f->f_file from omfwd.c, omfile.c - f->f_flags is gone away | ||||
* | introduced getWriteFDForSelect() module API | Rainer Gerhards | 2007-07-25 | 1 | -0/+1 |
| | |||||
* | changed output modules to use a template-based code generation system for | Rainer Gerhards | 2007-07-25 | 1 | -1/+0 |
| | | | | standard entry points (implemented via preprocessor) | ||||
* | removed F_UNUSED and cleaned up action-disabling handling | Rainer Gerhards | 2007-07-24 | 1 | -0/+1 |
| | |||||
* | major task: made sure no selector_t is created for selector lines that can | Rainer Gerhards | 2007-07-24 | 1 | -0/+2 |
| | | | | | not be successfully loaded. That forced me to change a lot of code, with potential for trouble. | ||||
* | moved discard functionality to an output module | Rainer Gerhards | 2007-07-24 | 1 | -0/+2 |
| |