summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* TESTING COMMIT: commiting not fully correct codeRainer Gerhards2008-09-181-1/+30
| | | | | | ... for the purpose of conducting a few external tests. This is a first approach at removing the time() call in the output, but it shows there are some subleties we need to address.
* added a small diag tool to generate local log messages quicklyRainer Gerhards2008-09-182-1/+40
| | | | | ... I think it may be useful to extend this later, thus I move it into git.
* Merge branch 'helgrind' into perfRainer Gerhards2008-09-187-20/+97
|\ | | | | | | | | | | Conflicts: ChangeLog
| * bugfix: potential race condition when adding messages to queueRainer Gerhards2008-09-185-13/+22
| | | | | | | | | | | | | | There was a wrong order of mutex lock operations. It is hard to believe that really caused problems, but in theory it could and with threading we often see that theory becomes practice if something is only used long enough on a fast enough machine with enough CPUs ;)
| * re-enabled gcc builtin atomic operations and added a proper ./configure checkRainer Gerhards2008-09-183-9/+61
| |
| * ignoring an (acceptable) race in debug systemRainer Gerhards2008-09-181-0/+16
| |
* | minor things, mostly improved debug infoRainer Gerhards2008-09-187-12/+17
| |
* | doc bugfix: queue doc had wrong parameter nameRainer Gerhards2008-09-172-2/+4
|/ | | | ...for setting controlling worker thread shutdown period
* consolidated time() calls in rule engineRainer Gerhards2008-09-163-34/+74
| | | | | | | ... but did not manage to avoid doing at least one call. So this change introduced performance benefit only in a few non-common situations. Anyhow, it hopefully levels ground for better things to come.
* fixing previous patch, time() call was accidently left inRainer Gerhards2008-09-161-2/+2
| | | | | in one case, which was not on the focus of the initial testing cases.
* performance optimization: unnecessary time() calls during message parsing ↵Rainer Gerhards2008-09-168-141/+197
| | | | | | removed thanks to David Lang for his excellent performance analysis
* Merge branch 'beta'Rainer Gerhards2008-09-126-12/+57
|\ | | | | | | | | | | | | Conflicts: runtime/rsyslog.h tools/syslogd.c
| * fixed duplicate error numberRainer Gerhards2008-09-121-1/+1
| | | | | | | | | | This probably happened during a branch merge and was not detected. Fixed now, should not haved any harm.
| * Merge branch 'v3-stable' into betaRainer Gerhards2008-09-126-12/+57
| |\ | | | | | | | | | | | | | | | | | | Conflicts: runtime/datetime.h runtime/rsyslog.h
| | * Merge branch 'v2-stable' into v3-stableRainer Gerhards2008-09-121-0/+8
| | |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog syslogd.c
| | | * bugfix: copy&paste error lead to dangling ifRainer Gerhards2008-09-122-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this caused a very minor issue with re-formatting a RFC3164 date when the message was invalidly formatted and had a colon immediately after the date. This was in the code for some years (even v1 had it) and I think it never had any effect at all in practice. Though, it should be fixed - but definitely nothing to worry about.
| | * | bugfix: colon after date should be ignored, but was not.Rainer Gerhards2008-09-124-9/+34
| | | | | | | | | | | | | | | | | | | | This has now been corrected. Required change to the internal ParseTIMESTAMP3164() interface.
| | * | bugfix: option value for legacy -a option could not be specifiedMarius Tomaschewski2008-09-102-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | resulting in strange operations. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * | bugfix: incorrect default discard severity could cause message lossRainer Gerhards2008-09-103-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default discard severity was incorrectly set to 4, which lead to discard-on-queue-full to be enabled by default. That could cause message loss where non was expected. The default has now been changed to the correct value of 8, which disables the functionality. This problem applied both to the main message queue and the action queues. Thanks to Raoul Bhatia for pointing out this problem.
| | * | bugfix: error code -2025 was used for two different errors.Rainer Gerhards2008-09-042-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Queue full is now -2074 and -2025 is unique again. (did cause no real problem except for troubleshooting)
* | | | added properties "inputname" and "$myhostname"Rainer Gerhards2008-09-1013-17/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added message property "inputname", which contains the name of the input (module) that generated it. Presence is depending on suport in each input module (else it is blank). - added system property "$myhostname", which contains the name of the local host as it knows itself.
* | | | added doc for new property replacer featureRainer Gerhards2008-09-101-1/+23
| | | | | | | | | | | | | | | | (see previous commit)
* | | | added new capability to property replacer.Zhuang Yuyao2008-09-104-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Multiple immediately successive field delimiters are treated as a single one. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | updated project status page & bumped version numberRainer Gerhards2008-09-044-11/+13
| | | |
* | | | prepared for 3.21.4 releasev3.21.4Rainer Gerhards2008-09-041-1/+15
| | | |
* | | | Merge branch 'beta'Rainer Gerhards2008-09-024-7/+75
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html
| * | | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-026-8/+77
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * | doc bugfix: rsyslog.conf man page improved and minor nit fixedLukas Kuklinek2008-09-022-1/+51
| | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * | bumped version numberRainer Gerhards2008-09-013-2/+4
| | | |
| | * | bugfix: order-of magnitude issue with base-10 size definitions in config ↵RB2008-09-012-5/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | file parser. Could lead to invalid sizes, constraints etc for e.g. queue files and any other object whose size was specified in base-10 entities. Did not apply to binary entities. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * | bugfix: action was not called when system time was set backwardsvarmojfekoj2008-09-012-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (until the previous time was reached again). There are still some side-effects when time is rolled back (A time rollback is really a bad thing to do, ideally the OS should issue pseudo time (like NetWare did) when the user tries to roll back time). Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | removed compile time fixed message size limit (was 2K)Rainer Gerhards2008-09-0218-94/+195
| | | | | | | | | | | | | | | | | | | | The limit can now be set via $MaxMessageSize global config directive (finally gotten rid of MAXLINE ;))
* | | | Merge branch 'beta'Rainer Gerhards2008-08-154-12/+37
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | preparing for 3.19.11v3.19.11Rainer Gerhards2008-08-151-1/+2
| | | |
| * | | Merge branch 'v3-stable' into betaRainer Gerhards2008-08-154-11/+35
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/rsyslog_ng_comparison.html
| | * | preparing for 3.18.3v3.18.3Rainer Gerhards2008-08-152-2/+2
| | | |
| | * | fixed cross-platform compile problem introduced with recent changeRainer Gerhards2008-08-152-7/+14
| | | | | | | | | | | | | | | | ...which fixed the imfile segfault issue.
| | * | updated syslog-ng comparison thanks to WilliamRainer Gerhards2008-08-151-4/+4
| | | |
| | * | bugfix: imfile could cause a segfault upon rsyslogd HUP and terminationRainer Gerhards2008-08-144-7/+19
| | | | | | | | | | | | | | | | | | | | Thanks to lperr for an excellent bug report that helped detect this problem.
* | | | enhanced doc for $ActionExecOnlyEveryNthTimeTimeoutRainer Gerhards2008-08-142-3/+20
| | | |
* | | | bumped version numberRainer Gerhards2008-08-134-6/+8
| | | |
* | | | prepared for 3.21.2v3.21.3Rainer Gerhards2008-08-133-3/+14
| | | |
* | | | Merge branch 'beta'Rainer Gerhards2008-08-135-6/+88
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c
| * | | Merge branch 'v3-stable' into betaRainer Gerhards2008-08-136-7/+89
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c
| | * | disabled flow control for imuxsockRainer Gerhards2008-08-132-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | It could cause system hangs under some circumstances. The devel (3.21.3 and above) will re-enable it and provide enhanced configurability to overcome the problems if they occur.
| | * | enhanced ommysql to support custom port to connect to serverRainer Gerhards2008-08-125-5/+73
| | | | | | | | | | | | | | | | | | | | | | | | Port can be set via new $ActionOmmysqlServerPort config directive Note: this was a very minor change and thus deemed appropriate to be done in the stable release.
| | * | bugfix: misspelled config directive + bumped version numberRainer Gerhards2008-08-124-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously was $MainMsgQueueWorkeTimeoutrThreadShutdown, is now $MainMsgQueueWorkerTimeoutThreadShutdown. Note that the misspelled directive is not preserved - if the misspelled directive was used (which I consider highly unlikely), the config file must be changed. Thanks to lperr for reporting the bug.
| | * | preparing for 3.18.2 releasev3.18.2Rainer Gerhards2008-08-082-2/+2
| | | |
* | | | some very minor cleanupRainer Gerhards2008-08-122-2/+0
| | | |
* | | | added ability to specify flow control mode for imuxsockRainer Gerhards2008-08-083-13/+51
| | | |