Package: rsyslog Version: 4.6.4-1 Severity: normal Trying to get back old --MARK-- behaviour, I am pointed by README.Debian to the v3compat document, which advertises:
> $ModLoad immark > $MarkMessageInterval 1800 # 30 minutes If I just load the module, things seem to work. If however I try to tune the interval (eg. to force more frequent marks to be sure that it works), I get the following error in the log. Diving into the doc to find the doc for immark, I notice the module page does not have a link for that module. Only by grepping the doc can I finally find out that the option name is indeed $MarkMessagePeriod and not $MarkMessageInterval. Either v3compat doc is wrong, or a change was done later (but v4compat does not mention it). At least v3compat doc has to be updated. Dec 3 21:21:42 home rsyslogd: [origin software="rsyslogd" swVersion="4.6.4" x-pid="4167" x-info="http://www.rsyslog.com"] (re)start Dec 3 21:21:42 home rsyslogd-3003: invalid or yet-unknown config file command - have you forgotten to load a module? [try http://www.rsyslog.com/e/3003 ] Dec 3 21:21:42 home rsyslogd: the last error occured in /etc/rsyslog.conf, line 14:"$MarkMessageInterval 1800" Dec 3 21:21:42 home rsyslogd-2124: CONFIG ERROR: could not interpret master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ] -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.34.1-00003-ge5b0813-dirty (SMP w/4 CPU cores) Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages rsyslog depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime Versions of packages rsyslog recommends: ii logrotate 3.7.8-6 Log rotation utility Versions of packages rsyslog suggests: ii rsyslog-doc 4.6.4-1 documentation for rsyslog pn rsyslog-gnutls <none> (no description available) pn rsyslog-gssapi <none> (no description available) pn rsyslog-mysql | rsyslog-pgsql <none> (no description available) pn rsyslog-relp <none> (no description available) -- Configuration Files: /etc/rsyslog.conf changed: $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support (previously done by rklogd) $ModLoad immark # provides --MARK-- message capability $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $FileOwner root $FileGroup adm $FileCreateMode 0640 $DirCreateMode 0755 $Umask 0022 $IncludeConfig /etc/rsyslog.d/*.conf auth,authpriv.* /var/log/auth.log *.*;auth,authpriv.none -/var/log/syslog daemon.* -/var/log/daemon.log kern.* -/var/log/kern.log lpr.* -/var/log/lpr.log mail.* -/var/log/mail.log user.* -/var/log/user.log mail.info -/var/log/mail.info mail.warn -/var/log/mail.warn mail.err /var/log/mail.err news.crit /var/log/news/news.crit news.err /var/log/news/news.err news.notice -/var/log/news/news.notice *.=debug;\ auth,authpriv.none;\ news.none;mail.none -/var/log/debug *.=info;*.=notice;*.=warn;\ auth,authpriv.none;\ cron,daemon.none;\ mail,news.none -/var/log/messages *.emerg * daemon.*;mail.*;\ news.err;\ *.=debug;*.=info;\ *.=notice;*.=warn |/dev/xconsole -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org