Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | moved action-describing data fields out of selector_t to its own structure; | Rainer Gerhards | 2007-08-01 | 1 | -118/+199 | |
| | | | | | 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 | |||||
* | - changed name of $Include to $IncludeConfig - sound better as it is more | Rainer Gerhards | 2007-08-01 | 1 | -11/+1 | |
| | | | | explicit (we'll see where else we get includes for...) | |||||
* | enhanced $Include to allow inclusion of a complete directory | Rainer Gerhards | 2007-08-01 | 1 | -3/+83 | |
| | ||||||
* | - applied a patch from mildew to prevent rsyslogd from freezing under heavy | Rainer Gerhards | 2007-08-01 | 1 | -2/+17 | |
| | | | | | load. This could happen when the queue was full. Now, we drop messages but rsyslogd remains active. | |||||
* | added $include config directive | Rainer Gerhards | 2007-08-01 | 1 | -6/+38 | |
| | ||||||
* | - some more code cleanup | Rainer Gerhards | 2007-08-01 | 1 | -14/+14 | |
| | | | | - enhanced cfsysline interface to disallow chaining of command handlers | |||||
* | - loading default values as done yesterday *is* clean (I've just reviewed | Rainer Gerhards | 2007-08-01 | 1 | -28/+9 | |
| | | | | | | 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 | 1 | -23/+19 | |
| | | | | | 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 | 1 | -50/+33 | |
| | | | | for $ResetConfigVariables | |||||
* | omfile.c now uses the new table-driven cfsysline system | Rainer Gerhards | 2007-07-31 | 1 | -10/+20 | |
| | ||||||
* | - got the basic code in place to create an in-memory list of cfsysline | Rainer Gerhards | 2007-07-31 | 1 | -31/+2 | |
| | | | | handlers (omfile.c used as testing case) -- not yet in active code | |||||
* | - added doCustomHdlr() to cfsysline.c - this completes implementing | Rainer Gerhards | 2007-07-31 | 1 | -9/+20 | |
| | | | | functions for canned handlers. | |||||
* | moved debug printf code out of init() into its own function | Rainer Gerhards | 2007-07-31 | 1 | -68/+77 | |
| | ||||||
* | moved code to open config file into separate function processConfFile() | Rainer Gerhards | 2007-07-31 | 1 | -90/+112 | |
| | ||||||
* | - added macro to abort a function and go to finalizer | Rainer Gerhards | 2007-07-31 | 1 | -23/+34 | |
| | | | | - added output of config file line number when a parsing error occured | |||||
* | added macro to consistently define iRet | Rainer Gerhards | 2007-07-31 | 1 | -5/+5 | |
| | ||||||
* | - added doGetInt() to cfsysline.c and adapted dynaFileChaceSize handler to | Rainer Gerhards | 2007-07-31 | 1 | -36/+16 | |
| | | | | use it | |||||
* | - moved the SetCCEscapeCharacter config file directive to cfsysline.c and | Rainer Gerhards | 2007-07-31 | 1 | -23/+1 | |
| | | | | also generalized it for further use while doing so | |||||
* | - moved umask & file/dir creation mode parsing to cfsysline.c | Rainer Gerhards | 2007-07-31 | 1 | -75/+14 | |
| | | | | - added macro for easy and consistent check of iRet return value | |||||
* | moved doGetGID() to cfsysline.c | Rainer Gerhards | 2007-07-31 | 1 | -35/+2 | |
| | ||||||
* | fixed insufficient memory allocation in addAction() and its helpers. The | Rainer Gerhards | 2007-07-30 | 1 | -22/+43 | |
| | | | | | | initial fix and idea was developed by mildew, I fine-tuned it a bit. Thanks a lot for the fix, I'd probably had pulled out my hair to find the bug... | |||||
* | moved doBinaryOption() and doGetGUID() to cfsysline.c | Rainer Gerhards | 2007-07-30 | 1 | -116/+10 | |
| | ||||||
* | - fixed a memory leak in syslogd/init() that happend when the config file | Rainer Gerhards | 2007-07-30 | 1 | -2/+2 | |
| | | | | could not be read - thanks to varmojfekoj for the patch | |||||
* | fixed a problem with shutting down the worker thread and freeing the | Rainer Gerhards | 2007-07-29 | 1 | -5/+14 | |
| | | | | | selector_t list - this caused messages to be lost, because the message queue was not properly drained before the selectors got destroyed. | |||||
* | removed selector_t f references from output modules | Rainer Gerhards | 2007-07-27 | 1 | -7/+7 | |
| | ||||||
* | - added omsr object (objomsr.c, objomsr.h) - template request for output | Rainer Gerhards | 2007-07-27 | 1 | -76/+169 | |
| | | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully | |||||
* | forgot to undo some changes - now done | Rainer Gerhards | 2007-07-27 | 1 | -5/+0 | |
| | ||||||
* | undone last change - was not a good idea. Designed a smarter interface. | Rainer Gerhards | 2007-07-27 | 1 | -27/+0 | |
| | ||||||
* | added IDs to selector_t | Rainer Gerhards | 2007-07-26 | 1 | -1/+32 | |
| | ||||||
* | - changed doAction() interface to contain the full message string | Rainer Gerhards | 2007-07-26 | 1 | -183/+10 | |
| | | | | - f_iov and its handling has been removed | |||||
* | - implemented needUDPSocket() interface | Rainer Gerhards | 2007-07-26 | 1 | -13/+8 | |
| | | | | | | | | - 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 | -8/+0 | |
| | | | | | | | - 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 | |||||
* | - changed doAction() interface to include module data pointer | Rainer Gerhards | 2007-07-26 | 1 | -1/+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 | -17/+7 | |
| | | | | - milestone reached: no more access to f->f_un in syslogd.c | |||||
* | fixed a situation where rsyslogd could create zombie processes thanks to | Rainer Gerhards | 2007-07-26 | 1 | -1/+1 | |
| | | | | mildew for the patch | |||||
* | introduced getWriteFDForSelect() module API | Rainer Gerhards | 2007-07-25 | 1 | -6/+5 | |
| | ||||||
* | brought emergency logging to a somewhat cleaner state | Rainer Gerhards | 2007-07-25 | 1 | -47/+15 | |
| | ||||||
* | moved some references to module data from syslogd.c to modules | Rainer Gerhards | 2007-07-25 | 1 | -34/+11 | |
| | ||||||
* | moved code to output module | Rainer Gerhards | 2007-07-25 | 1 | -14/+0 | |
| | ||||||
* | use new dbgPrintInstInfo() interface | Rainer Gerhards | 2007-07-25 | 1 | -41/+1 | |
| | ||||||
* | changed calling interface for freeInstance() - need to work with dual | Rainer Gerhards | 2007-07-25 | 1 | -1/+1 | |
| | | | | buffers in order to change output modules one by one | |||||
* | changed output modules to use a template-based code generation system for | Rainer Gerhards | 2007-07-25 | 1 | -4/+6 | |
| | | | | standard entry points (implemented via preprocessor) | |||||
* | added fix for startup permission checks - thanks to Michel Samia | Rainer Gerhards | 2007-07-25 | 1 | -0/+2 | |
| | ||||||
* | fixed a bug that caused rsyslogd to segfault on exit (and probably also on | Rainer Gerhards | 2007-07-25 | 1 | -1/+5 | |
| | | | | | | | HUP), when there was an unsent message in a selector that required forwarding and the dns lookup failed for that selector (yes, it was pretty unlikely to happen;)) thanks to varmojfekoj <varmojfekoj@gmail.com> for the patch | |||||
* | hardned syslogd for a very unusual low memory condition | Rainer Gerhards | 2007-07-24 | 1 | -2/+7 | |
| | ||||||
* | removed previous emergency logging system on startup, because it is not | Rainer Gerhards | 2007-07-24 | 1 | -21/+1 | |
| | | | | | compatible with the new modules; need to re-implement the full functionality, currently stderr is used | |||||
* | applied patch from Michel Samia which solved problems when compiling | Rainer Gerhards | 2007-07-24 | 1 | -3/+7 | |
| | | | | without Internet support | |||||
* | TypeName is now pulled from the module itself | Rainer Gerhards | 2007-07-24 | 1 | -11/+3 | |
| |