Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | added $ActionExecOnlyIfPreviousIsSuspended config directive | Rainer Gerhards | 2007-08-02 | 1 | -4/+33 |
| | |||||
* | implemented $ActionExecOnlyWhenPreviousIsSuspended config directive | Rainer Gerhards | 2007-08-02 | 2 | -10/+22 |
| | |||||
* | got a working version of suspension/resumption logic including omfwd.c | Rainer Gerhards | 2007-08-02 | 2 | -82/+153 |
| | |||||
* | added resumption logic to rsyslogd (but not yet any module) | Rainer Gerhards | 2007-08-02 | 2 | -4/+19 |
| | |||||
* | added tryResume() API to module interface | Rainer Gerhards | 2007-08-02 | 11 | -19/+82 |
| | |||||
* | changed doAction() syslogd internal functions to allow for larger data & | Rainer Gerhards | 2007-08-02 | 1 | -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 selector | Rainer Gerhards | 2007-08-02 | 2 | -4/+20 |
| | |||||
* | enabled functionality to have more than one action per selector | Rainer Gerhards | 2007-08-02 | 1 | -26/+17 |
| | |||||
* | moved cfsysline-calling into cfline() - now a unified interface again | Rainer Gerhards | 2007-08-02 | 1 | -18/+11 |
| | |||||
* | enhanced syslogd memory structures to support multiple actions per selector | Rainer Gerhards | 2007-08-02 | 1 | -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 a | Rainer Gerhards | 2007-08-02 | 2 | -0/+51 |
| | | | | user-supplied function on all members | ||||
* | shuffeled code in cfline() to prepare for a better system of processing the | Rainer Gerhards | 2007-08-01 | 4 | -139/+237 |
| | | | | selector_t linked list | ||||
* | moved definition of selector_t to syslogd.c again, as this now no longer is | Rainer Gerhards | 2007-08-01 | 2 | -42/+42 |
| | | | | a global structure | ||||
* | moved action-describing data fields out of selector_t to its own structure; | Rainer Gerhards | 2007-08-01 | 2 | -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 own | Rainer Gerhards | 2007-08-01 | 1 | -53/+74 |
| | | | | structure | ||||
* | even more cleanup ;) | Rainer Gerhards | 2007-08-01 | 3 | -29/+31 |
| | |||||
* | modified rklogd to only change the console log level if -c is specified | Rainer Gerhards | 2007-08-01 | 1 | -2/+5 |
| | |||||
* | bumped version number | Rainer Gerhards | 2007-08-01 | 2 | -2/+5 |
| | |||||
* | modified rklogd to only change the console log level if -c is specified | Rainer Gerhards | 2007-08-01 | 1 | -3/+3 |
| | |||||
* | preparing for 1.17.6v1-17-6 | Rainer Gerhards | 2007-08-01 | 3 | -9/+14 |
| | |||||
* | enhanced/renamed $include(config) directive | Rainer Gerhards | 2007-08-01 | 1 | -11/+40 |
| | |||||
* | - changed name of $Include to $IncludeConfig - sound better as it is more | Rainer Gerhards | 2007-08-01 | 2 | -12/+2 |
| | | | | explicit (we'll see where else we get includes for...) | ||||
* | enhanced $Include to allow inclusion of a complete directory | Rainer Gerhards | 2007-08-01 | 3 | -8/+100 |
| | |||||
* | - applied a patch from mildew to prevent rsyslogd from freezing under heavy | Rainer Gerhards | 2007-08-01 | 3 | -2/+21 |
| | | | | | load. This could happen when the queue was full. Now, we drop messages but rsyslogd remains active. | ||||
* | added $include directive | Rainer Gerhards | 2007-08-01 | 1 | -1/+24 |
| | |||||
* | added $include config directive | Rainer Gerhards | 2007-08-01 | 2 | -6/+39 |
| | |||||
* | - some more code cleanup | Rainer Gerhards | 2007-08-01 | 5 | -55/+47 |
| | | | | - enhanced cfsysline interface to disallow chaining of command handlers | ||||
* | fixed typo | Rainer Gerhards | 2007-08-01 | 1 | -1/+1 |
| | |||||
* | - loading default values as done yesterday *is* clean (I've just reviewed | Rainer Gerhards | 2007-08-01 | 7 | -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 reviewed | Rainer Gerhards | 2007-08-01 | 1 | -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 Gerhards | 2007-07-31 | 3 | -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 except | Rainer Gerhards | 2007-07-31 | 4 | -52/+37 |
| | | | | for $ResetConfigVariables | ||||
* | omfile.c now uses the new table-driven cfsysline system | Rainer Gerhards | 2007-07-31 | 5 | -15/+102 |
| | |||||
* | - got the basic code in place to create an in-memory list of cfsysline | Rainer Gerhards | 2007-07-31 | 8 | -41/+141 |
| | | | | handlers (omfile.c used as testing case) -- not yet in active code | ||||
* | - added interface to register a cfsysline command handler (basic | Rainer Gerhards | 2007-07-31 | 4 | -5/+54 |
| | | | | functionality) | ||||
* | - changed modInit() interface to contain pointer to host-function query | Rainer Gerhards | 2007-07-31 | 14 | -10/+66 |
| | | | | method | ||||
* | prepared cfsysline.c for integration into output modules | Rainer Gerhards | 2007-07-31 | 6 | -27/+29 |
| | |||||
* | - 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 some more functions to linkedList class | Rainer Gerhards | 2007-07-31 | 3 | -5/+84 |
| | |||||
* | added a generic linked list object (files linkedlist.h/c) | Rainer Gerhards | 2007-07-31 | 4 | -1/+178 |
| | |||||
* | - added doCustomHdlr() to cfsysline.c - this completes implementing | Rainer Gerhards | 2007-07-31 | 3 | -9/+39 |
| | | | | functions for canned handlers. | ||||
* | moved debug printf code out of init() into its own function | Rainer Gerhards | 2007-07-31 | 2 | -68/+79 |
| | |||||
* | - fixed bug in objomsr.c that caused program to abort in debug mode with an | Rainer Gerhards | 2007-07-31 | 1 | -1/+1 |
| | | | | invalid assertion (in some cases) | ||||
* | moved code to open config file into separate function processConfFile() | Rainer Gerhards | 2007-07-31 | 2 | -90/+113 |
| | |||||
* | - added macro to abort a function and go to finalizer | Rainer Gerhards | 2007-07-31 | 4 | -35/+46 |
| | | | | - added output of config file line number when a parsing error occured | ||||
* | added macro to consistently define iRet | Rainer Gerhards | 2007-07-31 | 5 | -17/+17 |
| | |||||
* | - added doGetInt() to cfsysline.c and adapted dynaFileChaceSize handler to | Rainer Gerhards | 2007-07-31 | 4 | -44/+70 |
| | | | | use it | ||||
* | - moved the SetCCEscapeCharacter config file directive to cfsysline.c and | Rainer Gerhards | 2007-07-31 | 3 | -49/+39 |
| | | | | also generalized it for further use while doing so | ||||
* | - moved umask & file/dir creation mode parsing to cfsysline.c | Rainer Gerhards | 2007-07-31 | 5 | -84/+119 |
| | | | | - added macro for easy and consistent check of iRet return value | ||||
* | moved doGetGID() to cfsysline.c | Rainer Gerhards | 2007-07-31 | 3 | -35/+49 |
| |