summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* bugfix: some message properties could be garbled due to race conditionRainer Gerhards2012-12-061-10/+0
| | | | | | | | | | | | | | | | | This happened only on very high volume systems, if the same message was being processed by two different actions. This was a regression caused by the new config processor, which did no longer properly enable msg locking in multithreaded cases. The bugfix is actually a refactoring of the msg locking code - we no longer do unlocked operations, as the use case for it has mostly gone away. It is potentially possible only at very low-end systems, and there the small additional overhead of doing the locking does not really hurt. Instead, the removal of that capability can actually slightly improve performance in common cases, as the code path is smaller and requires slightly less memory writes. That probably outperforms the extra locking overhead (which in the low-end case always happens in user space, without need for kernel support as we can always directly aquire the lock - there is no contention at all).
* bugfix: hostname set in rsyslog.conf was not picked up until HUPoxpa2012-11-221-0/+2
| | | | which could also mean "never" or "not for a very long time".
* bugfix: invalid rsyslog-internal macro API useRainer Gerhards2012-11-012-2/+2
| | | | | This had no bad effect, because the macro did the same as the one that should have been used.
* bugfix: build problems on some platformsRainer Gerhards2012-10-261-1/+1
|
* Merge branch 'v6-stable' into v6-betaRainer Gerhards2012-10-172-38/+9
|\
| * cleanup: removed remains of -c option (compatibility mode)Rainer Gerhards2012-10-162-38/+9
| | | | | | | | | | | | both from code & doc and emitted warning message if still used closes: http://bugzilla.adiscon.com/show_bug.cgi?id=361 Thanks to Michael Biebl for reporting & suggestions
* | fix small memory leak when template is specified in omfileRainer Gerhards2012-10-111-0/+1
| |
* | Merge branch 'v6-stable' into v6-develRainer Gerhards2012-10-041-2/+1
|\|
| * build: don't include librsyslog.la in the dist tarballMichael Biebl2012-10-041-2/+1
| | | | | | | | libtool archives are not meant to be shipped in the source tarball.
| * bugfix: config validation run did not always return correct return stateRainer Gerhards2012-09-201-0/+1
| |
* | integrate logctl into build processRainer Gerhards2012-10-022-456/+468
| |
* | add new tool "logctl" to access lumberjack logs in MongoDBUlrike Gerhards2012-10-021-0/+456
| |
* | bugfix: config validation run did not always return correct return stateRainer Gerhards2012-09-201-0/+1
| |
* | Merge branch 'v6-stable' into v6-develRainer Gerhards2012-09-062-1/+11
|\|
| * Fixed TCP CheckConnection handling in omfwd.c.Andre Lorbach2012-08-251-1/+10
| | | | | | | | Interface needed to be changed in lower stream classes. Syslog TCP Sending is now resumed properly.
| * bugfix: omusrsmsg incorrect return state & config warning handlingRainer Gerhards2012-08-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | During config file processing, Omusrmsg often incorrectly returned a warning status, even when no warning was present (caused by uninitialized variable). Also, the core handled warning messages incorrectly, and treated them as errors. As a result, omusrmsg (most often) could not properly be loaded. Note that this only occurs with legacy config action syntax. This was a regression caused by an incorrect merge in to the 6.3.x codebase. Thanks to Stefano Mason for alerting us of this bug.
| * cleanup: remove left-over commented-out codeRainer Gerhards2012-08-251-10/+0
| |
* | add uuid property to message objectJérôme Renard2012-08-261-1/+1
| |
* | Merge branch 'v6-stable'Rainer Gerhards2012-08-252-25/+72
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/ruleset.c tools/syslogd.c
| * Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-08-252-22/+71
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog action.c configure.ac doc/manual.html runtime/ruleset.c template.h threads.c tools/syslogd.c
| | * Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-08-221-4/+59
| | |\ | | | | | | | | | | | | | | | | Conflicts: runtime/ruleset.c
| | | * bugfix: multiple main queues with same queue file name were not detectedRainer Gerhards2012-08-221-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | This lead to queue file corruption. While the root cause is a config error, it is a bug that this important and hard to find config error was not detected by rsyslog.
| | * | changed TRUE/FALSE to RSTRUE/RSFALSERainer Gerhards2012-08-221-3/+3
| | | | | | | | | | | | | | | | This is done to prevent name claches with libraries.
| | * | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-151-0/+1
| | |\ \
| * | \ \ Merge branch 'v5-stable' into betaRainer Gerhards2012-08-201-3/+19
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | bugfix: potential abort if output plugin logged message during shutdownRainer Gerhards2012-08-011-3/+19
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | note that none of the rsyslog-provided plugins does this Thanks to bodik and Rohit Prasad for alerting us on this bug and analyzing it. fixes: http://bugzilla.adiscon.com/show_bug.cgi?id=347
| | * | bugfix "$PreserveFQDN on" was not honored in some modulesRainer Gerhards2012-06-121-0/+1
| | | | | | | | | | | | | | | | | | | | Thanks to bodik for reporting this bug. ---------------------------------------------
* | | | Merge branch 'beta'Rainer Gerhards2012-06-291-1/+1
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog runtime/rsyslog.h
| * | | Merge branch 'master-elasticsearch' into tmpRainer Gerhards2012-06-291-1/+1
| |\ \ \
| | * | | omelasticsearch: added transactional interface & better debug outputRainer Gerhards2012-05-241-1/+1
| | | | |
* | | | | ompipe: fix copy&paste name errorsRainer Gerhards2012-06-251-3/+3
| | | | |
* | | | | omfwd: support for module() global config parameters addedRainer Gerhards2012-06-251-8/+127
| | | | |
* | | | | ompipe: support for module() global config parameters addedRainer Gerhards2012-06-251-5/+97
| | | | |
* | | | | a bit more cleanupRainer Gerhards2012-06-251-5/+2
| | | | |
* | | | | cleanup & fix of mini-leakRainer Gerhards2012-06-251-3/+3
| | | | |
* | | | | implemented freeCnf() module interface & fixed some mem leaksRainer Gerhards2012-06-252-27/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The interface was actually not present in older versions, even though some modules already used it. The implementation was now done, and not in 6.3/6.4 because the resulting memory leak was ultra-slim and the new interface handling has some potential to seriously break things. Not the kind of thing you want to add in late beta state, if avoidable.
* | | | | milestone: module() config statement basically worksRainer Gerhards2012-06-211-11/+131
| | | | | | | | | | | | | | | | | | | | some nits to iron out, only omfile actually support module params
* | | | | bump default omfile iobuffer size to 4kRainer Gerhards2012-06-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | (should originally have this value; larger value makes limited sense giving current batch sizes)
* | | | | milestone: regex is compiled from script based filterRainer Gerhards2012-06-121-0/+2
| | | | |
* | | | | Merge branch 'beta'Rainer Gerhards2012-06-061-0/+5
|\| | | |
| * | | | Merge branch 'v5-beta' into betaRainer Gerhards2012-06-061-0/+5
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | Conflicts: runtime/modules.c
| | * | | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-061-0/+5
| | |\ \ \ | | | | |/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html runtime/modules.c
| | | * | add small delay (50ms) after sending shutdown messageRainer Gerhards2012-06-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There seem to be cases where the shutdown message is otherwise not processed, not even on an idle system. Thanks to Marcin for bringing this problem up.
* | | | | Merge branch 'beta'Rainer Gerhards2012-06-011-2/+2
|\| | | |
| * | | | Merge branch 'v5-beta' into betaRainer Gerhards2012-06-011-2/+2
| |\| | |
| | * | | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-06-011-2/+2
| | |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: runtime/queue.c
| | | * | cosmetic: slightly improved debug outputRainer Gerhards2012-05-311-2/+2
| | | | |
* | | | | improved support for --enable-debuglessRainer Gerhards2012-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | Now it's probably time to prove the effect in practice...
* | | | | added --enable-debugless configure option for very high demanding environmentsRainer Gerhards2012-05-292-2/+1
|/ / / / | | | | | | | | | | | | | | | | This actually at compile time disables a lot of debug code, resulting in some speedup (but serious loss of debugging capabilities)
* | | | Merge branch 'v5-beta' into betaRainer Gerhards2012-05-291-0/+3
|\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog