time/size rotation, and then the ability to call an external script to do
something with the rotated file after rsyslog knows it's done writing to it
(better than logrotate that only knows it sent a signal to an app, doesn't know
if the app has processed the signal yet). I would even let the fine count limit
be done in the script, but I could see arguments for doing it in omfile.
actually, time based actions may be better done as a core item. There are also
requests for time based rebind across all the different modules, so that may
belong more core rather than each module reinventing the wheel in slightly
different ways.
David Lang
On Tue, 23 Nov 2021, Yuri Bushmelev via rsyslog wrote:
Hello!
I asked Reiner a while ago regarding this and he told me he is not going to
remove this..
Though there is no decision on any new syntax for this.. I'd be happy with
some "omfile" options to configure a size limit and number of archives to
keep. That's more than enough for most of us I guess.. well.. maybe
compression program as well.. and encryption... and upload to s3/azure blob
store/hdfs/whatever else.. endless story I'd say :-D
I guess this is why it's in the current state.
On Tue, 23 Nov 2021 at 14:40, Vivek Kumar via rsyslog <
[email protected]> wrote:
Hi,
I am implementing a tracing mechanism and the outchannel features comes
handy to add Logrotate.
However, it is mentioned in the following link that it is a to-be removed
feature, at least as far as the config syntax is concerned.
https://www.rsyslog.com/doc/v8-stable/compatibility/v6compatibility.html
Could someone please comment is it planned for disabling or being
considered with a different syntax?
Thanks,
Vivek
_______________________________________________
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.