It is bug of main_queue() not supporting division into more files. Calling
action() does support it.
Opened bug report: https://github.com/rsyslog/rsyslog/issues/4484

-- 
Peter

On Tue, Dec 8, 2020 at 4:34 PM Peter Viskup <[email protected]> wrote:

> Seeing errors
> rsyslogd: error during parsing file /etc/rsyslog.d/lin/03-main-queue.conf,
> on or before line 2: invalid character '$' in object definition - is there
> an invalid escape sequence somewhere? [v8.1901.0 try
> https://www.rsyslog.com/e/2207 ]
> rsyslogd: error during parsing file /etc/rsyslog.d/lin/03-main-queue.conf,
> on or before line 2: invalid character '/' in object definition - is there
> an invalid escape sequence somewhere? [v8.1901.0 try
> https://www.rsyslog.com/e/2207 ]
> rsyslogd: error during parsing file /etc/rsyslog.d/lin/03-main-queue.conf,
> on or before line 2: syntax error on token 'etc' [v8.1901.0 try
> https://www.rsyslog.com/e/2207 ]
>
> on file
> # ls -la lin/03-main-queue.conf
> lrwxrwxrwx 1 root root 27 Dec  8 09:30 lin/03-main-queue.conf ->
> ../host/lin/main-queue.conf
> where the file contains
> # cat host/lin/main-queue.conf
> $IncludeConfig /etc/rsyslog.d/global/includes/target-main.inc
> $IncludeConfig /etc/rsyslog.d/lin/includes/queue-lin-size-small.inc
> $IncludeConfig /etc/rsyslog.d/lin/includes/queue-lin-disk-1k-small.inc
> )
> and all configuration parts are accessible and formatted properly.
>
> Change of host/lin/main-queue.conf to contain content of all the parts in
> the file is an workaround for the issue.
>
> What can be the root cause for this issue? Is there any limitation in
> nesting of IncludeConfig?
>
> Running Debian10 with rsyslog 8.1901.0-1.
>
> --
> Peter
>
_______________________________________________
rsyslog mailing list
https://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