summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v6-stable-newmsglock' into v7-stable-newmsglockRainer Gerhards2012-12-061-10/+0
|\ | | | | | | | | Conflicts: tools/syslogd.c
| * 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).
* | fix missing functionality: ruleset(){} could not specify ruleset queueRainer Gerhards2012-11-301-52/+57
| | | | | | | | | | | | | | | | | | | | The "queue.xxx" parameter set was not supported, and legacy ruleset config statements did not work (by intention). The fix introduces the "queue.xxx" parameter set. It has some regression potential, but only for the new functionality. Note that using that interface it is possible to specify duplicate queue file names, which will cause trouble. This will be solved in v7.3, because there is a too-large regression potential for the v7.2 stable branch.
* | silence compiler warningsRainer Gerhards2012-11-301-6/+11
| | | | | | | | | | the changes do not affect actual code execution, just keep the compile log clean.
* | Merge branch 'v6-stable' into tmpRainer Gerhards2012-11-221-0/+2
|\|
| * 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".
| * Merge branch 'v6-stable' into v6-betaRainer Gerhards2012-10-171-14/+5
| |\
* | | enabled to build without libuuid, at loss of uuid functionalityRainer Gerhards2012-11-091-0/+5
| | | | | | | | | | | | | | | | | | this enables smoother builds on older systems that do not support libuuid. Loss of functionality should usually not matter too much as uuid support has only recently been added and is very seldom used.
* | | add -D rsyslogd option to enable config parser debug modeRainer Gerhards2012-10-271-1/+7
| | |
* | | prepare for 7.20 stable release & minor thingsv7.2.0Rainer Gerhards2012-10-221-1/+1
| | | | | | | | | | | | | | | | | | The most important real code chane is the initialization of the epoll control set. This should just be cosmetic (valgrind warnings), as all data we actually use already was properly initialized.
* | | Merge branch 'v6-stable' into betaRainer Gerhards2012-10-161-14/+5
|\ \ \ | | |/ | |/| | | | | | | Conflicts: rsyslog.service.in
| * | cleanup: removed remains of -c option (compatibility mode)Rainer Gerhards2012-10-161-14/+5
| | | | | | | | | | | | | | | | | | 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
| * | bugfix: config validation run did not always return correct return stateRainer Gerhards2012-09-201-0/+1
| | |
| * | cleanup: remove left-over commented-out codeRainer Gerhards2012-08-251-10/+0
| | |
* | | Merge branch 'v6-devel'Rainer Gerhards2012-09-201-0/+1
|\ \ \ | | |/ | |/|
| * | bugfix: config validation run did not always return correct return stateRainer Gerhards2012-09-201-0/+1
| | |
* | | new ruleengine: some cleanupRainer Gerhards2012-09-061-5/+0
|/ /
* | Merge branch 'v6-stable'Rainer Gerhards2012-08-251-22/+69
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac runtime/ruleset.c tools/syslogd.c
| * Merge branch 'v5-stable' into v6-stableRainer Gerhards2012-08-251-19/+68
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | 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. ---------------------------------------------
* | | | implemented freeCnf() module interface & fixed some mem leaksRainer Gerhards2012-06-251-22/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: 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
| | | |
* | | | added --enable-debugless configure option for very high demanding environmentsRainer Gerhards2012-05-291-1/+0
|/ / / | | | | | | | | | | | | 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
| * | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-05-291-0/+3
| |\|
| | * bugfix: if debug message could end up in log file when forkingTomas Heinrich2012-05-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if rsyslog was set to auto-background (thus fork, the default) and debug mode to stdout was enabled, debug messages ended up in the first log file opened. Currently, stdout logging is completely disabled in forking mode (but writing to the debug log file is still possible). This is a change in behaviour, which is under review. If it causes problems to you, please let us know. Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | * cleanup: removing no longer needed macrosRainer Gerhards2012-05-041-1/+1
| | |
| * | Merge branch 'v5-stable' into v5-betaRainer Gerhards2012-05-031-0/+1
| |\| | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html
| | * debug: slightly improved debug info for input module startupRainer Gerhards2012-05-031-0/+1
| | |
* | | cleanup no longer used variableRainer Gerhards2012-05-031-1/+0
| | |
* | | Merge branch 'v5-beta'Rainer Gerhards2012-04-121-72/+97
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog configure.ac doc/manual.html plugins/imuxsock/imuxsock.c tools/syslogd.c
| * | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-04-121-73/+97
| |\ \
| | * | Merge branch 'v5-stable' into v5-stable-newstatsRainer Gerhards2012-04-121-73/+97
| | |\| | | | | | | | | | | | | | | | | | | | | Conflicts: plugins/imuxsock/imuxsock.c runtime/glbl.c
| | | * imuxsock: do not cache hostnameRainer Gerhards2012-04-121-1/+1
| | | |
| | | * Allocate LocalDomain as new stringMarius Tomaschewski2012-04-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LocalDomain points to "" or the domain in LocalHostName, allocate as new string before passing to SetLocalDomain or free will fail later. Signed-off-by: Marius Tomaschewski <mt@suse.com>
| | | * bugfix: hostname was not requeried on HUPRainer Gerhards2012-04-111-72/+93
| | | | | | | | | | | | | | | | Thanks to Marius Tomaschewski for reporting this bug.
| * | | Merge branch 'v5-stable-newstats' into v5-develRainer Gerhards2012-04-071-8/+2
| |\| | | | | | | | | | | | | | | | | | | | | | Conflicts: configure.ac doc/manual.html