rsyslog

The rocket-fast system for log processing

ChangeLog for 4.2.0 (v4-stable)

Version 4.2.0 [v4-stable] (rgerhards), 2009-06-23

  • bugfix: light and full delay watermarks had invalid values, badly affecting performance for delayable inputs
  • bugfix: compile problems in im3195
  • imported all patches from 3.22.1 as of today (see below):
    • bugfix: invalid error message issued if $inlcudeConfig was on an empty set of files (e.g. *.conf, where none such files existed) thanks to Michael Biebl for reporting this bug
    • bugfix: when run in foreground (but not in debug mode), a debug message ("DoDie called") was emitted at shutdown. Removed. thanks to Michael Biebl for reporting this bug
    • bugfix: some garbagge was emitted to stderr on shutdown. This garbage consisted of file names, which were written during startup (key point: not a pointer error) thanks to Michael Biebl for reporting this bug
    • bugfix: startup and shutdown message were emitted to stdout
      thanks to Michael Biebl for reporting this bug
    • bugfix: error messages were not emitted to stderr in forked mode (stderr and stdo are now kept open across forks)
    • bugfix: internal messages were emitted to whatever file had fd2 when rsyslogd ran in forked mode (as usual!) Thanks to varmojfekoj for the patch
    • small enhancement: config validation run now exits with code 1 if an error is detected. This change is considered important but small enough to apply it directly to the stable version. [But it is a border case, the change requires more code than I had hoped. Thus I have NOT tried to actually catch all cases, this is left for the current devel releases, if necessary]
    • bugfix: light and full delay watermarks had invalid values, badly affecting performance for delayable inputs
    • bugfix: potential segfault issue when multiple $UDPServerRun directives are specified. Thanks to Michael Biebl for helping to debug this one.
    • relaxed GnuTLS version requirement to 1.4.0 after confirmation from the field that this version is sufficient
    • bugfix: parser did not properly handle empty structured data

As a reminder:

Version 4.1.0 [DEVEL] (rgerhards), 2008-11-18

********************************* WARNING *********************************
This version has a slightly different on-disk format for message entries.
As a consequence, old queue files being read by this version may have
an invalid output timestamp, which could result to some malfunction inside
the output driver. It is recommended to drain queues with the previous
version before switching to this one.
********************************* WARNING *********************************
  • greatly enhanced performance when compared to v3.
  • added configuration directive "HUPisRestart" which enables to configure
    HUP to be either a full restart or "just" a leightweight way to
    close open files.
  • enhanced legacy syslog parser to detect year if part of the timestamp
    the format is based on what Cisco devices seem to emit.
  • added a setting "$OptimizeForUniprocessor" 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)
  • reordered imudp processing. 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.
  • bugfix: compressed syslog messages could be slightly mis-uncompressed
    if the last byte of the compressed record was a NUL
  • added $UDPServerTimeRequery option 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)
  • doc bugfix: queue doc had wrong parameter name for setting controlling
    worker thread shutdown period
  • restructured rsyslog.conf documentation
  • bugfix: memory leak in ompgsql
    Thanks to Ken for providing the patch