Hi all,

I would like to report what I believe is a small documentation bug on the
following page:

http://www.rsyslog.com/doc/imfile.html

Apologies if this is not the correct place to do this. I could not find an
issue tracker.

Specifically, the documentation describes under the "Legacy Configuration
Directives" section:

> $InputFilePollInterval seconds
> equivalent to: PollingInterva

The sample just a little bit lower down uses the following syntax:

> # check for new lines every 10 seconds
> $InputFilePollingInterval 10

Note the "PollInterval" vs "PollingInterval".

The use of "PollingInterval" causes the following log message when starting
the daemon:

> rsyslogd-2124: CONFIG ERROR: could not interpret master config file
'/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]
> syslogd: the last error occured in /etc/rsyslog.d/my_imfile_config.conf,
line 9:"$InputFilePollingInterval 10"
> rsyslogd: the last error occured in /etc/rsyslog.conf, line
28:"$IncludeConfig /etc/rsyslog.d/*.conf"

Using "PollInterval" fixes this.

My Ubuntu rsyslog package version is 5.8.6-1ubuntu8.4.
My rsyslogd version is 5.8.6.

I came across this solution via the following Stack Exchange question from
another user with the same error:

http://serverfault.com/questions/486602/rsyslog-text-file-input-module-error

Please could I request that the documentation on the site is updated.

Thanks,

Martin
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of 
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE 
THAT.

Reply via email to