ivian
Subject: Re: [rsyslog] logrotate does not work when rsyslog logs via external
program (omprog)
I would agree that a single control point is more desirable than
coordination attempts between rsyslog, logrotate, and an external script.
I would also comment that in cases where we inte
I would agree that a single control point is more desirable than
coordination attempts between rsyslog, logrotate, and an external script.
I would also comment that in cases where we integrate rsyslog and
logrotate, we always have logrotate perform an rsyslog full stop and
start, not just a re
Logrotate is rotating the file, but not signaling your Python script when
this happens. So yes, as you have noticed, the rotation will not work
correctly with this setup.
You have two options. First and preferred option I think: forget about
logrotate and make your Python script rotate the logs by
Hello,
in my /etc/rsyslog.conf, I am calling external script to handle
mail.* logging:
mail.*action(type="omprog" name="blacklist-postfix"
binary="/usr/local/sbin/postfix.py" template="long-iso")
This custom script processes logs, and writes to /var/log/mail/mail.log
Everything works w
4 matches
Mail list logo