Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bugfix: message could be truncated after TAG, often when forwarding | Rainer Gerhards | 2009-07-09 | 1 | -2/+4 |
| | | | | | | This was a result of an internal processing error if maximum field sizes had been specified in the property replacer. Also did some testbench improvements, including omstdout. | ||||
* | optimization: propert names are now internally identified by integers | Rainer Gerhards | 2009-06-26 | 1 | -10/+6 |
| | |||||
* | some more stringbuffer optimization | Rainer Gerhards | 2009-06-25 | 1 | -1/+0 |
| | |||||
* | optimized template string generation | Rainer Gerhards | 2009-06-19 | 1 | -51/+46 |
| | |||||
* | fixed abort condition with oversize tags | Rainer Gerhards | 2009-06-18 | 1 | -0/+1 |
| | | | | this was a regression I introduced this afternoon | ||||
* | slight optimization of template generation | Rainer Gerhards | 2009-06-18 | 1 | -3/+3 |
| | |||||
* | done various optimizations to the stringbuf and its users | Rainer Gerhards | 2009-06-16 | 1 | -27/+27 |
| | |||||
* | added a new way how output plugins may be passed parameters. | Rainer Gerhards | 2009-04-03 | 1 | -0/+56 |
| | | | | | This is more efficient for some outputs. They new can receive fields not only as a single string but rather in an array where each string is seperated. | ||||
* | added new "csv" property replacer option | Rainer Gerhards | 2009-04-02 | 1 | -0/+5 |
| | | | | | to enable simple creation of CSV-formatted outputs (format from RFC4180 is used) | ||||
* | Merge branch 'v3-stable' into beta | Rainer Gerhards | 2008-11-11 | 1 | -2/+6 |
|\ | | | | | | | | | | | | | Conflicts: ChangeLog doc/manual.html | ||||
| * | enhance: regex nomatch option "ZERO" has been added | Rainer Gerhards | 2008-11-11 | 1 | -2/+6 |
| | | | | | | | | | | | | This allows to return the string 0 if a regular expression is not found. This is probably useful for storing numerical values into database columns. | ||||
* | | added new capability to property replacer. | Zhuang Yuyao | 2008-09-10 | 1 | -0/+5 |
|/ | | | | | | | Multiple immediately successive field delimiters are treated as a single one. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com> | ||||
* | Merge branch 'v3-stable' into beta | Rainer Gerhards | 2008-07-18 | 1 | -0/+11 |
|\ | | | | | | | | | | | | | Conflicts: doc/property_replacer.html tools/syslogd.c | ||||
| * | added new poperty replacer option, added missing documentation | Rainer Gerhards | 2008-07-18 | 1 | -0/+11 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added a new property replacer option "sp-if-no-1st-sp" to cover a problem with RFC 3164 based interpreation of tag separation. While it is a generic approach, it fixes a format problem introduced in 3.18.0, where kernel messages no longer had a space after the tag. This is done by a modifcation of the default templates. Please note that this may affect some messages where there intentionally is no space between the tag and the first character of the message content. If so, this needs to be worked around via a specific template. However, we consider this scenario to be quite remote and, even if it exists, it is not expected that it will actually cause problems with log parsers (instead, we assume the new default template behaviour may fix previous problems with log parsers due to the missing space). - doc bugfix: property replacer options secpath-replace and secpath-drop were not documented | ||||
* | | added (internal) error codes to error messages | Rainer Gerhards | 2008-06-27 | 1 | -7/+7 |
| | | | | | | | | | | Also added redirector to web description of error codes closes bug http://bugzilla.adiscon.com/show_bug.cgi?id=20 | ||||
* | | added new property replacer option "time-subseconds" | Rainer Gerhards | 2008-06-06 | 1 | -0/+2 |
| | | | | | | | | enables to query just the subsecond part of a high-precision timestamp | ||||
* | | enhanced property replacer to support multiple regex matches | Rainer Gerhards | 2008-06-04 | 1 | -4/+22 |
| | | |||||
* | | capability for replacement text in no match regex case added | Rainer Gerhards | 2008-05-30 | 1 | -2/+23 |
| | | | | | | | | | | | | implemented in property replacer: if a regular expression does not match, it can now either return "**NO MATCH** (default, as before), a blank property or the full original property text | ||||
* | | enhanced property replacer's regex to support submatches | Rainer Gerhards | 2008-05-29 | 1 | -4/+35 |
| | | | | | | | | | | | | | | - enabled Posix ERE expressions inside the property replacer (previously BRE was permitted only) - provided ability to specify that a regular expression submatch shall be used inside the property replacer | ||||
* | | some more cleanup | Rainer Gerhards | 2008-04-16 | 1 | -1/+1 |
|/ | | | | | reduced dependencies, moved non-runtime files to its own directory except for some whom's status is unclear | ||||
* | some cleanup | Rainer Gerhards | 2008-04-11 | 1 | -28/+20 |
| | |||||
* | properties are now case-insensitive everywhere (script, filters, templates) | Rainer Gerhards | 2008-04-03 | 1 | -2/+2 |
| | |||||
* | bugfix: fixed small memory leak in template regular expressions | Rainer Gerhards | 2008-03-28 | 1 | -4/+24 |
| | |||||
* | prevented potential flood of error messages if regexp lib could not be | Rainer Gerhards | 2008-03-28 | 1 | -2/+6 |
| | | | | loaded | ||||
* | renamed library module file names to lm*, so that they match the overall | Rainer Gerhards | 2008-03-07 | 1 | -2/+2 |
| | | | | scheme (like im* and om*) | ||||
* | fixed potential infinite loop condition when module load failed on startup | Rainer Gerhards | 2008-03-07 | 1 | -1/+1 |
| | |||||
* | extracted regexp functionality to its own dynamically loadable module | Rainer Gerhards | 2008-03-07 | 1 | -3/+13 |
| | |||||
* | some cleanup | Rainer Gerhards | 2008-03-07 | 1 | -3/+3 |
| | |||||
* | - extracted logerror*() family of functions from syslogd, made them their | Rainer Gerhards | 2008-03-05 | 1 | -8/+23 |
| | | | | | | own class and converted to new object calling conventions (interface-based) - converted gss-misc into a loadable library module | ||||
* | changed rsCStrObj name to cstr_t, which is more inline with the rest of | Rainer Gerhards | 2008-02-21 | 1 | -4/+4 |
| | | | | rsyslog (now) and also much easier to type | ||||
* | changed rsCStrDestruct() to use the new interface conventions | Rainer Gerhards | 2008-02-20 | 1 | -5/+5 |
| | |||||
* | - added doc on how expressions will work | Rainer Gerhards | 2008-02-19 | 1 | -7/+4 |
| | | | | | | - cleaned up the stringbuf Construct interface - did some cleanup on stringbuf calls - we now have much better interfaces and macros | ||||
* | redesigned queue to utilize helper classes for threading support. This is | Rainer Gerhards | 2008-01-24 | 1 | -1/+1 |
| | | | | | | 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 some no-longer-needed code (thanks Michael Biebl for the help) | Rainer Gerhards | 2008-01-05 | 1 | -4/+0 |
| | |||||
* | changed license to GPLv3 (for what is to become rsyslog v3) | Rainer Gerhards | 2007-12-14 | 1 | -1/+19 |
| | |||||
* | fixed some type conversion warnings that appeared on 64 bit machines - | Rainer Gerhards | 2007-12-07 | 1 | -1/+1 |
| | | | | these were in debug statements, so indicated no real problem | ||||
* | adding sur5r's postgres module - many thanks for providing it! There are a | Rainer Gerhards | 2007-12-03 | 1 | -0/+5 |
| | | | | | number of patches necessary to core modules, because we need a new formatting function (date-pgsql). | ||||
* | - changed part of the CStr interface so that better error tracking is | Rainer Gerhards | 2007-09-05 | 1 | -40/+38 |
| | | | | | | | 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. | ||||
* | - fixed bug: a template like this causes an infinite loop: $template | Rainer Gerhards | 2007-09-04 | 1 | -0/+2 |
| | | | | | | | opts,"%programname:::a,b%" thanks varmojfekoj for the patch - fixed bug: case changing options crash freeing the string pointer because they modify it: $template opts2,"%programname::1:lowercase%" thanks varmojfekoj for the patch | ||||
* | applied patch form varmojfekoj to fix some mem leaks and a check to make | Rainer Gerhards | 2007-09-04 | 1 | -4/+13 |
| | | | | | sure that an empty string (NULL) returned by the CStr class does not cause a program abort. | ||||
* | patches and docu update for 1.19.3v1-19-3 | Michael Meckelein | 2007-08-31 | 1 | -0/+4 |
| | |||||
* | 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 | -49/+49 |
| | | | | clib | ||||
* | moved file write output module to own set of code files | Rainer Gerhards | 2007-07-22 | 1 | -0/+211 |
| | |||||
* | code cleanup (removed compiler warnings | Rainer Gerhards | 2007-07-18 | 1 | -3/+4 |
| | |||||
* | fixed minimal memory leak on HUP (caused by templates) thanks to | Rainer Gerhards | 2007-07-18 | 1 | -0/+51 |
| | | | | varmojfekoj for the patch | ||||
* | moving towards autotools build system - config.h include forgotten & now | Rainer Gerhards | 2007-07-11 | 1 | -0/+4 |
| | | | | fixed | ||||
* | forgotten to comment out some dprintf()s - fixed that | Rainer Gerhards | 2007-07-05 | 1 | -5/+5 |
| | |||||
* | removed some no-longer-necessary dprintf()s; worked towards more unsigned | Rainer Gerhards | 2007-07-05 | 1 | -28/+31 |
| | | | | chars | ||||
* | some more unsigned char conversions... | Rainer Gerhards | 2007-07-04 | 1 | -1/+1 |
| |