Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - 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 | |
| | ||||||
* | continued working on modularization; begun to create interface for | Rainer Gerhards | 2007-07-23 | 1 | -0/+8 | |
| | | | | | configuring actions selector lines; begun basic functionality for module initialization and loading built-in modules. | |||||
* | fixed a very nasty bug in structure creation of struct filed (caused | Rainer Gerhards | 2007-07-23 | 1 | -1/+4 | |
| | | | | | omusrmsg to be defunct) - many thanks to maharaja for providing the right idea at the right time ;) | |||||
* | more cleanup; restored compatibility to non-gcc compilers | Rainer Gerhards | 2007-07-18 | 1 | -0/+8 | |
| | ||||||
* | fully integrated patch from mildew@gmail.com | Rainer Gerhards | 2007-07-16 | 1 | -2/+0 | |
| | ||||||
* | applied patch by mildew@gmail.com to support IPv6 in $AllowedSenders | Rainer Gerhards | 2007-07-16 | 1 | -0/+2 | |
| | ||||||
* | adding uchar type for easy ref | Rainer Gerhards | 2007-07-10 | 1 | -1/+6 | |
| | ||||||
* | some changes to support Solaris | Rainer Gerhards | 2006-02-16 | 1 | -0/+3 | |
| | ||||||
* | made "!progname" fully BSD-compliant; added property "programname" | Rainer Gerhards | 2005-10-19 | 1 | -0/+1 | |
| | ||||||
* | begin implementing RFC 3195 support | Rainer Gerhards | 2005-10-06 | 1 | -5/+4 | |
| | ||||||
* | nearing completion of allowedSenders functionality | Rainer Gerhards | 2005-09-27 | 1 | -0/+3 | |
| | ||||||
* | added parsing of property-filter (but not complete property selector line | Rainer Gerhards | 2005-09-19 | 1 | -1/+5 | |
| | | | | yet) | |||||
* | on the way to adding property-based filters - right before changing | Rainer Gerhards | 2005-09-15 | 1 | -4/+13 | |
| | | | | cfline() | |||||
* | prepared for new parse object; now removed allmost all liblogging borrowed | Rainer Gerhards | 2005-09-15 | 1 | -0/+73 | |
code |