Just a tipp: if you search for the old-style construct inside the
rsyslog documentation, it's context and relation to the new style
should show up, often together with a sample. See here:

https://www.rsyslog.com/doc/master/rainerscript/queue_parameters.html?highlight=actionqueuediscardseverity

HTH
Rainer

El mar., 5 may. 2020 a las 10:15, Cyril Stoll via rsyslog
(<[email protected]>) escribió:
>
>
> Hi David
>
> Thanks for looking into this. I didn't have a global section enclosed in
> brackets "()". I had a couple of global config options like the following
> and just added a new line with the oversizemsg.input.mode option.
>
> $WorkDirectory /var/lib/rsyslog
> $IncludeConfig /etc/rsyslog.d/*.conf
> $IMJournalStateFile imjournal.state
> $oversizemsg.input.mode accept
>
> Now I changed the first line into a global() options construct and added
> the oversizemsg part inside it and it works:
>
> global(workDirectory="/var/lib/rsyslog" oversizemsg.input.mode="accept")
>
> I guess I'm still a bit confused due to the mix of config languages that is
> allowed and sometimes even necessary as not all the options I use are
> available in the new language. Like $ActionQueueDiscardSeverity 7 does not
> work inside the global() construct. But my problem is solved!
>
> Thank you very much and best regards,
> Cyril
>
>
>
>
> Von:    "David Lang via rsyslog" <[email protected]>
> An:     "Cyril Stoll via rsyslog" <[email protected]>
> Kopie:  "David Lang" <[email protected]>, [email protected]
> Datum:  04/05/2020 19:17
> Betreff:        Re: [rsyslog] oversizemsg.input.mode is invalid/unknown config
>             option
> Gesendet von:   "rsyslog" <[email protected]>
>
>
>
> are you trying it inside the global() section or as a statement by itself?
>
> David Lang
> _______________________________________________
> 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.
>
> _______________________________________________
> 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.
_______________________________________________
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