summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | consolidated time calls during msg object creationRainer Gerhards2008-10-026-6/+13
| |_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...this improves performance and consistency and also fixes a bug where subsecond time properties generated by imfile, imklog and internal messages could be slightly inconsistent.
* | | | | | | | | | | fixed git merge bug (duplicate code could not be detected)Rainer Gerhards2008-10-021-19/+0
| | | | | | | | | | |
* | | | | | | | | | | Merge branch 'master' into helgrindRainer Gerhards2008-10-029-10/+137
|\ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Merge branch 'beta'Rainer Gerhards2008-10-029-13/+140
| |\| | | | | | | | | | | | |_|_|_|_|_|_|_|_|/ | |/| | | | | | | | |
| | * | | | | | | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-10-029-13/+140
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/net.c
| | | * | | | | | | | bugfix: rsyslogd could hang on HUPRainer Gerhards2008-10-022-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | because getnameinfo() is not cancel-safe, but was not guarded against being cancelled. pthread_cancel() is routinely being called during HUP processing.
| | | * | | | | | | | added doc on how to build from source repositoryRainer Gerhards2008-10-017-8/+77
| | | | | | | | | | |
| | | * | | | | | | | added index.html as an entry point to the manualRainer Gerhards2008-09-242-0/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thanks to Michael Biebl for suggesting it
| | | * | | | | | | | doc fix: the gss-api output plugin is called omgssapiMichael Biebl2008-09-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* | | | | | | | | | | removed no longer needed mutex callsRainer Gerhards2008-10-021-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | problem source is that getnameinfo() is not cancel-safe, not that it is not thread-safe. It is now guarded against cancellation.
* | | | | | | | | | | bugfix: segfault when main queue was in direct modeRainer Gerhards2008-10-011-1/+1
| | | | | | | | | | |
* | | | | | | | | | | prevent getnameinfo() from being cancelledRainer Gerhards2008-09-301-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... but removed the mutex, as the problem seems to be in cancel processing, so the mutex is no longer necessary
* | | | | | | | | | | improved threadingRainer Gerhards2008-09-305-13/+35
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - changed sequence when awakening thread - removed no longer needed condition variable - EXPERIMENTALLY added mutex guarding to hostname lookups this is to be removed if it does not have any verifyable useful effect
* | | | | | | | | | bumping version number (partial)Rainer Gerhards2008-09-302-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I am changing the way the version number is bumped so that viewer git merge conflicts happen. In the future, it will be bumped immediately before release and not immediately after (though this means I need to be more careful with interim versions).
* | | | | | | | | | Merge branch 'helgrind'v3.21.5Rainer Gerhards2008-09-309-157/+206
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | | | | | | some more threading cleanupRainer Gerhards2008-09-262-8/+15
| | |_|_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - removed newly-introduced potential deadlock in debug system - removed unnecessary pthread_cond_signal - a bit general cleanup
| * | | | | | | | fixed potential race condition on HUP and terminationRainer Gerhards2008-09-261-0/+2
| | | | | | | | |
| * | | | | | | | cleaned up internal debug system code and made it behave better in regard to ↵Rainer Gerhards2008-09-263-131/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | multi-threading
| * | | | | | | | atomic memory access calls re-enabled in msg.cRainer Gerhards2008-09-231-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | destructor not yet permitted because verification is missing that a atomic opration is sufficient for the job required
| * | | | | | | | Merge branch 'master' into helgrindRainer Gerhards2008-09-222-4/+7
| |\ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ | | |/| | | | | |
| * | | | | | | | Merge branch 'master' into helgrindRainer Gerhards2008-09-222-3/+12
| |\ \ \ \ \ \ \ \ | | | |_|_|_|_|_|/ | | |/| | | | | |
| * | | | | | | | bugfix: proper synchronization on message destructionRainer Gerhards2008-09-192-0/+5
| | |_|_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code was potentially race, at least on systems where a memory barrier was needed. Fix not fully tested yet.
| * | | | | | | 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
| | |_|_|_|_|/ | |/| | | | |
* | | | | | | some prep for 3.21.5 releaseRainer Gerhards2008-09-301-1/+4
| | | | | | |
* | | | | | | minor: typo fixRainer Gerhards2008-09-231-1/+1
| | | | | | |
* | | | | | | Merge branch 'beta'Rainer Gerhards2008-09-234-6/+206
|\ \ \ \ \ \ \ | |_|_|/ / / / |/| | | / / / | | |_|/ / / | |/| | | | | | | | | | Conflicts: doc/troubleshoot.html
| * | | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-234-6/+205
| |\ \ \ \ \ | | | |_|/ / | | |/| | |
| | * | | | added doc on malformed messages, cause and how to work-around, to the doc setRainer Gerhards2008-09-234-6/+205
| | | | | |
* | | | | | Merge branch 'beta'Rainer Gerhards2008-09-222-4/+7
|\| | | | | | |_|_|/ / |/| | | |
| * | | | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-222-4/+7
| |\| | |
| | * | | doc bugfix: $ActionExecOnlyWhenPreviousIsSuspended was still misspelledRainer Gerhards2008-09-222-4/+7
| | | | | | | | | | | | | | | | | | | | | | | | | ... as $...OnlyIfPrev... in some parts of the documentation. Thanks to Lorenzo M. Catucci for reporting this bug.
* | | | | Merge branch 'beta'Rainer Gerhards2008-09-222-3/+12
|\| | | | | |_|/ / |/| | |
| * | | Merge branch 'v3-stable' into betaRainer Gerhards2008-09-222-3/+12
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * | bugfix: imudp input module could cause segfault on HUPRainer Gerhards2008-09-222-2/+9
| | | | | | | | | | | | | | | | | | | | It did not properly de-init a variable acting as a linked list head. That resulted in trying to access freed memory blocks after the HUP.
| | * | bumped version numberRainer Gerhards2008-09-183-2/+4
| | | |
| | * | preparing for 3.18.4v3.18.4Rainer Gerhards2008-09-181-1/+1
| | | |
* | | | 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)