summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* restructured rsyslog.conf documentationTom Bergfeld2008-10-3155-1239/+225
| | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
* updated support optionsRainer Gerhards2008-10-281-1/+25
|
* added configuration directive "HUPisRestart"Rainer Gerhards2008-10-2313-62/+212
| | | | | ...which enables to configure HUP to be either a full restart or "just" a leightweight way to close open files
* added a setting "$OptimizeForUniprocessor"Rainer Gerhards2008-10-2210-5/+49
| | | | | | ...to enable users to turn off pthread_yield calls which are counter-productive on multiprocessor machines (but have been shown to be useful on uniprocessors)
* Merge branch 'master' into nextmasterRainer Gerhards2008-10-2211-63/+140
|\ | | | | | | | | | | | | Conflicts: ChangeLog configure.ac
| * preparing for 3.21.6v3.21.6Rainer Gerhards2008-10-224-4/+6
| | | | | | | | | | plus solving a compile problem for im3195 (which is not used in practice, thus this did not show up before...)
| * Merge branch 'beta'Rainer Gerhards2008-10-213-20/+40
| |\
| | * bugfix: (potentially big) memory leak on HUPRainer Gerhards2008-10-213-20/+40
| | | | | | | | | | | | | | | | | | - if queues could not be drained before timeout - thanks to David Lang for pointing this out - added link to german-language forum to doc set
| * | added capability to support multiple module search pathes.Marius Tomaschewski2008-10-204-35/+101
| | | | | | | | | | | | Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| * | Merge branch 'beta'Rainer Gerhards2008-10-163-4/+14
| |\| | | | | | | | | | | | | | | | Conflicts: ChangeLog
| | * clarified cost and effect of SIGHUPv3.19.12Rainer Gerhards2008-10-161-0/+8
| | |
| | * increased maximum size of a configuration statement to 4K (was 1K)Rainer Gerhards2008-10-162-4/+6
| | |
| * | updated release informationRainer Gerhards2008-10-161-3/+3
| | |
| * | syslog-ng comparison had artefacts from merge conflictsRainer Gerhards2008-10-151-8/+0
| | |
| * | updated project status to reflect 3.18.5 releaseRainer Gerhards2008-10-091-2/+2
| | |
| * | Merge branch 'beta'Rainer Gerhards2008-10-092-0/+4
| |\|
| | * Merge branch 'v3-stable' into betaRainer Gerhards2008-10-092-0/+4
| | |\
| | | * Merge branch 'v2-stable' into v3-stableRainer Gerhards2008-10-092-0/+4
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: syslogd.c
| | | | * bugfix: memory leaks in rsyslogd, primarily in singlethread modeFederico Nunez2008-10-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks to Frederico Nunez for providing the fix. The actual patch was commited before this one - unfortunately I forgot to set the author correct when commiting it and then it was pushed to the online repository. Sorry for this ;) Signed-off-by: Rainer Gerhards <rgerhards@adiscon.com>
| | | | * fixed memory leaksRainer Gerhards2008-10-092-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - a big one in syslogd.c, which caused messages not to be freed when compiled for single-threading mode - a small one in the file output handler, outchannels, when a size-reached action was to be executed
* | | | | bugfix: (potentially big) memory leak on HUPRainer Gerhards2008-10-212-13/+34
| | | | | | | | | | | | | | | | | | | | | | | | | This occured if queues could not be drained before timeout. Thanks to David Lang for pointing this out.
* | | | | moved bParseHostname and bIsParsed to msgFlagsRainer Gerhards2008-10-0913-38/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enables us to use more efficient calling conventions and also helps us keep the on-disk structure of a msg object more consistent in future releases.
* | | | | Merge branch 'master' into perfRainer Gerhards2008-10-092-1/+4
|\| | | |
| * | | | Merge branch 'beta'Rainer Gerhards2008-10-092-1/+4
| |\| | |
| | * | | Merge branch 'v3-stable' into betaRainer Gerhards2008-10-092-1/+4
| | |\| |
| | | * | bugfix[minor]: light delay queue mark not properly handledRainer Gerhards2008-10-092-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | if queue size reached light_delay mark, enqueuing could potentially be blocked for a longer period of time, which was not the behaviour desired.
* | | | | minor: reorder to slightly reduce size of critical sectionRainer Gerhards2008-10-091-1/+1
| | | | |
* | | | | added experimental pthread_yield()Rainer Gerhards2008-10-091-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | which so far seems to increase performance. There is also reason for it to do so, see http://kb.monitorware.com/post14216.html#p14216
* | | | | restoring msg parsing for imudpRainer Gerhards2008-10-091-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I tried to work too quick this morning. A side-effect of an earlier change was that no UDP messages were parsed, which lead to their loss, because no PRI was set in this case.
* | | | | bumped interface version number to reflect change to message parsingRainer Gerhards2008-10-092-2/+5
| | | | |
* | | | | fixing segfault caused by all inputs but imudpRainer Gerhards2008-10-092-1/+3
| | | | |
* | | | | reordered imudp processing.Rainer Gerhards2008-10-0811-20/+396
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Message parsing is now done as part of main message queue worker processing (was part of the input thread) This should also improve performance, as potentially more work is done in parallel.
* | | | | restructured imudp receive loopRainer Gerhards2008-10-082-60/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cleaned up previous code and redid it in a way that makes it much easier to extend it also added a new macro DBGPRINTF which is a performance-optimzed version of dbgprintf
* | | | | cleanup of output timestamp generationRainer Gerhards2008-10-072-36/+6
| | | | |
* | | | | "output" timestamp now taken from mesg's time generatedRainer Gerhards2008-10-0713-33/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This enhances performance and, as some have pointed out, is probably also more consistent with what users expect how the various output-timestamp related function should work. This commit needs some more testing.
* | | | | slightly improved lock contention situation by moving out ofRainer Gerhards2008-10-071-3/+9
| | | | | | | | | | | | | | | | | | | | the critical section what could so with acceptable consequences
* | | | | simple (yet efficient) name caching added to imudpRainer Gerhards2008-10-071-2/+18
| | | | |
* | | | | added $UDPServerTimeRequery optionRainer Gerhards2008-10-0610-35/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ...which enables to work with less acurate timestamps in favor of performance. This enables querying of the time only every n-th time if imudp is running in the tight receive loop (aka receiving messsages at a high rate)
* | | | | Merge branch 'master' into perfRainer Gerhards2008-10-067-7/+18
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: ChangeLog
| * | | | Merge branch 'beta'Rainer Gerhards2008-10-022-1/+5
| |\| | |
| | * | | bugfix: subseconds where not correctly extracted from a timestampRainer Gerhards2008-10-022-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | if that timestamp did not contain any subsecond information (the resulting string was garbagge but should have been "0", what it now is).
| * | | | 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.
* | | | | very minor: performance optimization hint addedRainer Gerhards2008-10-021-0/+1
| | | | |
* | | | | performance-optimized imudpRainer Gerhards2008-10-022-34/+46
| | | | |
* | | | | some code cleanupRainer Gerhards2008-10-021-50/+48
| | | | | | | | | | | | | | | | | | | | removed code not actually needed in imupd
* | | | | Merge branch 'helgrind' into perfRainer Gerhards2008-10-0214-24/+154
|\| | | |
| * | | | 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