Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | cleanup | Rainer Gerhards | 2008-03-28 | 1 | -2/+1 |
| | |||||
* | - changed default file output format to include high-precision timestamps | Rainer Gerhards | 2008-03-28 | 1 | -3/+15 |
| | | | | | - added a buid-in template for previous syslogd file format - added new $ActionFileDefaultTemplate directive | ||||
* | - Greatly enhanced rsyslogd's filw write performance by disabling file | Rainer Gerhards | 2008-03-22 | 1 | -5/+10 |
| | | | | | | | | | | | | | | | | syncing capability of output modules by default. This feature is usually not required, not useful and an extreme performance hit (both to rsyslogd as well as the system at large). Unfortunately, most users enable it by default, because it was most intuitive to enable it in plain old sysklogd syslog.conf format. There is now a new config setting which must be enabled in order to support syncing. By default it is off. So even if the old-format config lines request syncing, it is not done unless explicitely enabled. I am sure this is a very useful change and not a risk at all. I need to think if I undo it under compatibility mode, but currently this does not happen (I fear a lot of lazy users will run rsyslogd in compatibility mode, again bringing up this performance problem...). - added $ActionfileEnableSync config directive | ||||
* | removed a now-longer needed callback from the output module interface. | Rainer Gerhards | 2008-03-22 | 1 | -5/+0 |
| | | | | Results in reducing code complexity. | ||||
* | bugfix: not properly initialized data could cause several segfaults if | Rainer Gerhards | 2008-03-12 | 1 | -2/+3 |
| | | | | | there were errors in the config file - thanks to varmojfekoj for the patch | ||||
* | - extracted logerror*() family of functions from syslogd, made them their | Rainer Gerhards | 2008-03-05 | 1 | -10/+13 |
| | | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module | ||||
* | - changed module interface to support querying obj interface (stage work) | Rainer Gerhards | 2008-03-04 | 1 | -1/+1 |
| | | | | - changed module interface version, as the interface change is quite large | ||||
* | - improved diagnostic information for abort cases | Rainer Gerhards | 2008-02-12 | 1 | -11/+18 |
| | | | | | - some initial effort for malloc/free debugging support - bugfix: using dynafile actions caused rsyslogd abort | ||||
* | fixed a bug that caused a potential hang in file and fwd output module | Rainer Gerhards | 2008-01-30 | 1 | -0/+2 |
| | | | | varmojfekoj provided the patch - many thanks! | ||||
* | redesigned queue to utilize helper classes for threading support. This is | Rainer Gerhards | 2008-01-24 | 1 | -11/+17 |
| | | | | | | finally in a running state for regular (non disk-assisted) queues, with a minor nit at shutdown. So I can finally commit the work again to CVS... | ||||
* | removed single-threading support for sending TCP messages; caused | Rainer Gerhards | 2007-12-20 | 1 | -10/+0 |
| | | | | | simplyfication of output module interface as well as core syslog processing. | ||||
* | - begun to create input module interface and macros | Rainer Gerhards | 2007-12-14 | 1 | -0/+2 |
| | | | | - changed module interface to include function to query type | ||||
* | changed license to GPLv3 (for what is to become rsyslog v3) | Rainer Gerhards | 2007-12-14 | 1 | -7/+8 |
| | |||||
* | added an identifier to command handler table - need to identify which | Rainer Gerhards | 2007-11-21 | 1 | -10/+10 |
| | | | | command handler entries need to be removed when module is unloaded | ||||
* | added new modExit() entry point to loadable module interface | Rainer Gerhards | 2007-11-21 | 1 | -1/+5 |
| | |||||
* | cleaned up some signed/unsinged char issuesv1-19-5 | Rainer Gerhards | 2007-09-07 | 1 | -10/+10 |
| | |||||
* | applied patch by varmojfekoj two fix two potential segfault situations | Rainer Gerhards | 2007-09-07 | 1 | -1/+2 |
| | |||||
* | - changed part of the CStr interface so that better error tracking is | Rainer Gerhards | 2007-09-05 | 1 | -2/+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 for release 1.19.2, update documentationv1-19-2 | Michael Meckelein | 2007-08-28 | 1 | -39/+54 |
| | |||||
* | - fixed a bug in outchannel code that caused templates to be incorrectly | Rainer Gerhards | 2007-08-09 | 1 | -8/+0 |
| | | | | | | 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 | -8/+8 |
| | | | | clib | ||||
* | - 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 | ||||
* | added tryResume() API to module interface | Rainer Gerhards | 2007-08-02 | 1 | -0/+4 |
| | |||||
* | even more cleanup ;) | Rainer Gerhards | 2007-08-01 | 1 | -0/+10 |
| | |||||
* | - some more code cleanup | Rainer Gerhards | 2007-08-01 | 1 | -10/+10 |
| | | | | - 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 | -0/+12 |
| | | | | | | 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 | -0/+20 |
| | | | | | I need to fix an issue with loading default settings when syslogd is started or HUPed | ||||
* | omfile.c now uses the new table-driven cfsysline system | Rainer Gerhards | 2007-07-31 | 1 | -0/+4 |
| | |||||
* | - got the basic code in place to create an in-memory list of cfsysline | Rainer Gerhards | 2007-07-31 | 1 | -0/+37 |
| | | | | handlers (omfile.c used as testing case) -- not yet in active code | ||||
* | - changed modInit() interface to contain pointer to host-function query | Rainer Gerhards | 2007-07-31 | 1 | -0/+3 |
| | | | | method | ||||
* | added macro to consistently define iRet | Rainer Gerhards | 2007-07-31 | 1 | -2/+2 |
| | |||||
* | 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 | -49/+28 |
| | | | | | | modules - changed doAction() interface - templates and output string generation for doActon() is now fully | ||||
* | removed debug code | Rainer Gerhards | 2007-07-27 | 1 | -2/+0 |
| | |||||
* | - changed doAction() interface to contain the full message string | Rainer Gerhards | 2007-07-26 | 1 | -4/+3 |
| | | | | - f_iov and its handling has been removed | ||||
* | - implemented needUDPSocket() interface | Rainer Gerhards | 2007-07-26 | 1 | -39/+41 |
| | | | | | | | | - 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 | -9/+24 |
| | | | | | | | - 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 omfile.c | Rainer Gerhards | 2007-07-26 | 1 | -104/+130 |
| | | | | - milestone reached: f->f_un has gone away! | ||||
* | - 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 |
| | |||||
* | moved some references to module data from syslogd.c to modules | Rainer Gerhards | 2007-07-25 | 1 | -2/+4 |
| | |||||
* | added new function dbgPrintInstInfo() to omod interface | Rainer Gerhards | 2007-07-25 | 1 | -0/+24 |
| | |||||
* | changed output modules to use a template-based code generation system for | Rainer Gerhards | 2007-07-25 | 1 | -78/+42 |
| | | | | standard entry points (implemented via preprocessor) | ||||
* | added freeInstance() call to output module interface; re-structured | Rainer Gerhards | 2007-07-24 | 1 | -4/+3 |
| | | | | ressource release code in syslogd.c | ||||
* | removed F_UNUSED and cleaned up action-disabling handling | Rainer Gerhards | 2007-07-24 | 1 | -28/+34 |
| | |||||
* | major task: made sure no selector_t is created for selector lines that can | Rainer Gerhards | 2007-07-24 | 1 | -21/+16 |
| | | | | | 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 |
| |