summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* preparing for 1.18.0v1-18-0Rainer Gerhards2007-08-034-6/+11
|
* perparing for 1.18.0 releaseRainer Gerhards2007-08-031-1/+4
|
* - I found out that we finally have problems with the (somewhat recursive)Rainer Gerhards2007-08-0312-33/+386
| | | | | | | | | | | | | | | | | | | | | | | | 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 macrosRainer Gerhards2007-08-039-258/+137
| | | | | | - restructered rsyslogd startup - moved startWorker() to a more appropriate place - updated ommysql.c to fully support suspension/resumption by rule engine
* cleanup (removed unused code)Rainer Gerhards2007-08-021-14/+0
|
* some cleanupRainer Gerhards2007-08-024-6/+3
|
* added $ActionExecOnlyIfPreviousIsSuspended config directiveRainer Gerhards2007-08-021-4/+33
|
* implemented $ActionExecOnlyWhenPreviousIsSuspended config directiveRainer Gerhards2007-08-022-10/+22
|
* got a working version of suspension/resumption logic including omfwd.cRainer Gerhards2007-08-022-82/+153
|
* added resumption logic to rsyslogd (but not yet any module)Rainer Gerhards2007-08-022-4/+19
|
* added tryResume() API to module interfaceRainer Gerhards2007-08-0211-19/+82
|
* changed doAction() syslogd internal functions to allow for larger data &Rainer Gerhards2007-08-021-3/+10
| | | | | | state data - in preparation for actions that shall only be executed when previous action was suspended (the switchover case, e.g. for failed databases or TCP receivers)
* added capability to have multiple actions per selectorRainer Gerhards2007-08-022-4/+20
|
* enabled functionality to have more than one action per selectorRainer Gerhards2007-08-021-26/+17
|
* moved cfsysline-calling into cfline() - now a unified interface againRainer Gerhards2007-08-021-18/+11
|
* enhanced syslogd memory structures to support multiple actions per selectorRainer Gerhards2007-08-021-111/+298
| | | | | however, this can not yet be configured do to missing config code for this case
* enhanced linkedList class, new method to get count, new method to execute aRainer Gerhards2007-08-022-0/+51
| | | | user-supplied function on all members
* shuffeled code in cfline() to prepare for a better system of processing theRainer Gerhards2007-08-014-139/+237
| | | | selector_t linked list
* moved definition of selector_t to syslogd.c again, as this now no longer isRainer Gerhards2007-08-012-42/+42
| | | | a global structure
* moved action-describing data fields out of selector_t to its own structure;Rainer Gerhards2007-08-012-138/+200
| | | | | changed code to use this dynamically-allocated structure; this is in preparation for multiple actions per selector
* prepared code to move action-specifc selector_t data members to their ownRainer Gerhards2007-08-011-53/+74
| | | | structure
* even more cleanup ;)Rainer Gerhards2007-08-013-29/+31
|
* modified rklogd to only change the console log level if -c is specifiedRainer Gerhards2007-08-011-2/+5
|
* bumped version numberRainer Gerhards2007-08-012-2/+5
|
* modified rklogd to only change the console log level if -c is specifiedRainer Gerhards2007-08-011-3/+3
|
* preparing for 1.17.6v1-17-6Rainer Gerhards2007-08-013-9/+14
|
* enhanced/renamed $include(config) directiveRainer Gerhards2007-08-011-11/+40
|
* - changed name of $Include to $IncludeConfig - sound better as it is moreRainer Gerhards2007-08-012-12/+2
| | | | explicit (we'll see where else we get includes for...)
* enhanced $Include to allow inclusion of a complete directoryRainer Gerhards2007-08-013-8/+100
|
* - applied a patch from mildew to prevent rsyslogd from freezing under heavyRainer Gerhards2007-08-013-2/+21
| | | | | load. This could happen when the queue was full. Now, we drop messages but rsyslogd remains active.
* added $include directiveRainer Gerhards2007-08-011-1/+24
|
* added $include config directiveRainer Gerhards2007-08-012-6/+39
|
* - some more code cleanupRainer Gerhards2007-08-015-55/+47
| | | | - enhanced cfsysline interface to disallow chaining of command handlers
* fixed typoRainer Gerhards2007-08-011-1/+1
|
* - loading default values as done yesterday *is* clean (I've just reviewedRainer Gerhards2007-08-017-48/+28
| | | | | | the code again) - moved omfile-specifc global variables (for cfsysline settings) from syslogd.c to omfile.c
* - loading default values as done yesterday *is* clean (I've just reviewedRainer Gerhards2007-08-011-21/+8
| | | | | | the code again) - moved omfile-specifc global variables (for cfsysline settings) from syslogd.c to omfile.c
* - $ResetConfigVariables now also works vir the table-driven sytem. However,Rainer Gerhards2007-07-313-23/+46
| | | | | I need to fix an issue with loading default settings when syslogd is started or HUPed
* - all cfsysline directives now use new table-driven cfsysline system exceptRainer Gerhards2007-07-314-52/+37
| | | | for $ResetConfigVariables
* omfile.c now uses the new table-driven cfsysline systemRainer Gerhards2007-07-315-15/+102
|
* - got the basic code in place to create an in-memory list of cfsyslineRainer Gerhards2007-07-318-41/+141
| | | | handlers (omfile.c used as testing case) -- not yet in active code
* - added interface to register a cfsysline command handler (basicRainer Gerhards2007-07-314-5/+54
| | | | functionality)
* - changed modInit() interface to contain pointer to host-function queryRainer Gerhards2007-07-3114-10/+66
| | | | method
* prepared cfsysline.c for integration into output modulesRainer Gerhards2007-07-316-27/+29
|
* - fixed a typo that caused the default template for MySQL to be wrong.Rainer Gerhards2007-07-311-1/+1
| | | | thanks to mildew for catching this.
* added some more functions to linkedList classRainer Gerhards2007-07-313-5/+84
|
* added a generic linked list object (files linkedlist.h/c)Rainer Gerhards2007-07-314-1/+178
|
* - added doCustomHdlr() to cfsysline.c - this completes implementingRainer Gerhards2007-07-313-9/+39
| | | | functions for canned handlers.
* moved debug printf code out of init() into its own functionRainer Gerhards2007-07-312-68/+79
|
* - fixed bug in objomsr.c that caused program to abort in debug mode with anRainer Gerhards2007-07-311-1/+1
| | | | invalid assertion (in some cases)
* moved code to open config file into separate function processConfFile()Rainer Gerhards2007-07-312-90/+113
|