logrotate strange argus behavior
Carter Bullard
carter at qosient.com
Wed Oct 24 10:52:36 EDT 2018
Hey Monah,
Both programs have the exact same logic for output files, so it maybe how you’re running or configuring argus ??
What’s in your argus.conf, or are you using “-w file” on the command line ???
Carter
> On Oct 24, 2018, at 8:36 AM, Monah Baki <monahbaki at gmail.com> wrote:
>
> Hi all,
>
> I'm using logrotate to rotate both argus.out and radium.out. Here is my /etc/logrotate.d for radium and argus
>
>
> /var/log/radium/radium.out {
> missingok
> notifempty
> compress
> size 100M
> daily
> create 0600 root root
> }
>
>
>
> /var/log/argus/argus.out {
> missingok
> notifempty
> compress
> size 100M
> daily
> create 0600 root root
> }
>
>
> radiums config works fine, but for the argus once it creates the compressed file and moves it, argus.out is always 0 bytes, only way to have argus log back to argus.out it is to kill the argus pid and start argus. While radium keeps logging to radium.out.
>
>
> Thanks
> Monah
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4045 bytes
Desc: not available
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20181024/2614ad1d/attachment.bin>
More information about the argus
mailing list