Thanks for your insight. I also haven't been able to find any recent
documentation on the modules in question, so I'll give up and return to
legacy.
Am 04.07.22 um 18:42 schrieb John Chivian:
I don’t believe that all of the legacy configuration have new
equivalents. Note below that in my file of global definitions I have
both styles, the reason being when I put it together I couldn’t find
newer equivalents. They may have since been implemented, the
maintainers will know for sure.
This is the ONLY case where I use the old style syntax, i.e. this small
section of global definitions, everything else is written utilizing the
new script constructions. To my way of thinking, if this is the only
part of the old style syntax I have to deal with, then I can live with
it just fine.
$ cat 01-globals.conf
# Old Style Globals
$RepeatedMsgReduction off
$umask 0000
$CreateDirs on
# New Style Globals
global(
processInternalMessages="on"
parser.dropTrailingLFOnReception="on"
parser.spaceLFOnReceive="on"
parser.escapeControlCharactersOnReceive="on"
maxMessageSize="16k"
preserveFQDN="on"
net.enableDNS="off"
workDirectory="/logspool"
senders.keepTrack="on"
senders.timeoutAfter="86400"
senders.reportGoneAway="on"
senders.reportNew="on"
oversizemsg.errorfile="/logspool/oversizemsg.errorfile"
oversizemsg.input.mode="truncate"
oversizemsg.report="on"
)
Regards,
On Jul 4, 2022, at 02:52, Ede Wolf via rsyslog
<rsyslog@lists.adiscon.com <mailto:rsyslog@lists.adiscon.com>> wrote:
Hello,
I am trying to convert an legacy configuration file to rscript, and I
am unable to find a list for the global options. For example changing:
$ModLoad immark.so
$MarkMessagePeriod 3600
into
module(load="immark.so" MarkMessagePeriod="3600")
or
$ModLoad imklog.so
$klogConsoleLogLevel
into
module(load="imklog.so" klogConsoleLogLevel="1")
Those options (klogConsoleLogLevel or MarkMessageperiod) seem to have
been renamed.
However, the Libraray Modules Documentation Website does not list any
modules, and f.e. the $MarkMessagePeriod site does not link to an
rscript equivalent at all.
So I am wondering, is there somewhere an overview of old vs. new options?
Also for other global settings like converting $Umask, $InclideConfig
or $FileOwener?
Thanks
Ede
_______________________________________________
rsyslog mailing list
https://lists.adiscon.net/mailman/listinfo/rsyslog
<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.