Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | applied patches which will be released under 1.19.1, changed doc for 1.19.1v1-19-1 | Michael Meckelein | 2007-08-22 | 1 | -1/+2 |
| | | | | release | ||||
* | - integrated patch from varmojfekoj to make the mysql module a loadable one | Rainer Gerhards | 2007-08-14 | 1 | -17/+2 |
| | | | | many thanks for the patch, MUCH appreciated | ||||
* | - fixed a bug in outchannel code that caused templates to be incorrectly | Rainer Gerhards | 2007-08-09 | 1 | -1/+1 |
| | | | | | | parsed - fixed a bug in ommysql that caused a wrong ";template" missing message in some cases | ||||
* | changed rsyslog.h include order to solve debian sid zlib inlcude issue | Michael Meckelein | 2007-08-08 | 1 | -1/+1 |
| | |||||
* | changed function name dprintf() to dbgprintf() as it conflicts with the | Rainer Gerhards | 2007-08-08 | 1 | -2/+2 |
| | | | | clib | ||||
* | reduced number of identical error messages in ommysql.c while suspended | Rainer Gerhards | 2007-08-03 | 1 | -4/+12 |
| | |||||
* | - I found out that we finally have problems with the (somewhat recursive) | Rainer Gerhards | 2007-08-03 | 1 | -9/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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 | -236/+105 |
| | | | | | | - restructered rsyslogd startup - moved startWorker() to a more appropriate place - updated ommysql.c to fully support suspension/resumption by rule engine | ||||
* | some cleanup | Rainer Gerhards | 2007-08-02 | 1 | -0/+1 |
| | |||||
* | added tryResume() API to module interface | Rainer Gerhards | 2007-08-02 | 1 | -0/+4 |
| | |||||
* | - changed modInit() interface to contain pointer to host-function query | Rainer Gerhards | 2007-07-31 | 1 | -0/+3 |
| | | | | method | ||||
* | - fixed a typo that caused the default template for MySQL to be wrong. | Rainer Gerhards | 2007-07-31 | 1 | -1/+1 |
| | | | | thanks to mildew for catching this. | ||||
* | added macro to consistently define iRet | Rainer Gerhards | 2007-07-31 | 1 | -2/+2 |
| | |||||
* | fixed a bug that caused ommysql to always complain about missing templates | Rainer Gerhards | 2007-07-30 | 1 | -0/+4 |
| | |||||
* | removed selector_t f references from output modules | Rainer Gerhards | 2007-07-27 | 1 | -3/+2 |
| | |||||
* | - added omsr object (objomsr.c, objomsr.h) - template request for output | Rainer Gerhards | 2007-07-27 | 1 | -33/+11 |
| | | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully | ||||
* | - changed doAction() interface to contain the full message string | Rainer Gerhards | 2007-07-26 | 1 | -6/+3 |
| | | | | - f_iov and its handling has been removed | ||||
* | - implemented needUDPSocket() interface | Rainer Gerhards | 2007-07-26 | 1 | -1/+6 |
| | | | | | | | | - 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 | ||||
* | - removed f_type from omshell.c, omdiscard.c, omusrmsg.c, ommysql.c | Rainer Gerhards | 2007-07-26 | 1 | -6/+3 |
| | | | | | | | - removed f_type from syslogd.c/cflineParseFileName() - fixed bug in omfile.c which could lead to invalid addressing if "-" was given to not sync file - removed f_type from omfile.c | ||||
* | - removed references to f_un from ommysql.c | Rainer Gerhards | 2007-07-26 | 1 | -57/+66 |
| | |||||
* | - changed doAction() interface to include module data pointer | Rainer Gerhards | 2007-07-26 | 1 | -7/+1 |
| | | | | | | - removed references to f_un from omusrmsg.c - changed module template for parseSelectorAct() [code reduction, consitency] | ||||
* | - implemented onSelectReadyWrite() interface | Rainer Gerhards | 2007-07-26 | 1 | -0/+8 |
| | | | | - milestone reached: no more access to f->f_un in syslogd.c | ||||
* | introduced getWriteFDForSelect() module API | Rainer Gerhards | 2007-07-25 | 1 | -0/+5 |
| | |||||
* | added new function dbgPrintInstInfo() to omod interface | Rainer Gerhards | 2007-07-25 | 1 | -0/+6 |
| | |||||
* | changed output modules to use a template-based code generation system for | Rainer Gerhards | 2007-07-25 | 1 | -81/+51 |
| | | | | standard entry points (implemented via preprocessor) | ||||
* | added freeInstance() call to output module interface; re-structured | Rainer Gerhards | 2007-07-24 | 1 | -3/+17 |
| | | | | ressource release code in syslogd.c | ||||
* | removed F_UNUSED and cleaned up action-disabling handling | Rainer Gerhards | 2007-07-24 | 1 | -20/+21 |
| | |||||
* | major task: made sure no selector_t is created for selector lines that can | Rainer Gerhards | 2007-07-24 | 1 | -13/+11 |
| | | | | | 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 | -3/+15 |
| | |||||
* | changed action calling sequence to module interface/structure | Rainer Gerhards | 2007-07-24 | 1 | -1/+0 |
| | |||||
* | changed select action config reader to use module interface | Rainer Gerhards | 2007-07-24 | 1 | -0/+1 |
| | |||||
* | fixed wrong credits - last patch was by mildew -- sorry for that ;) | Rainer Gerhards | 2007-07-24 | 1 | -38/+40 |
| | |||||
* | moved selector action parsing for MySQL to ommysql | Rainer Gerhards | 2007-07-24 | 1 | -0/+113 |
| | |||||
* | continued working on modularization; begun to create interface for | Rainer Gerhards | 2007-07-23 | 1 | -0/+36 |
| | | | | | configuring actions selector lines; begun basic functionality for module initialization and loading built-in modules. | ||||
* | simplified action calling using new interface Warning: this version has a | Rainer Gerhards | 2007-07-23 | 1 | -1/+1 |
| | | | | | structure alignment issue in omusrmsg.c, I currently do not know why. I check in so that others can look at it. | ||||
* | changed interface, now is updated by rule engine | Rainer Gerhards | 2007-07-22 | 1 | -1/+0 |
| | |||||
* | moved mysql action to its own code files | Rainer Gerhards | 2007-07-20 | 1 | -0/+275 |