logrotate strange argus behavior
Monah Baki <[email protected]> Wed, 24 Oct 2018 08:36:39 -0400
| Newsgroups | gmane.network.argus |
|---|---|
| Message-ID | <CALP3=x_bnK170aGvBgVoKRCjXUoyYa6zMDXuNu0UogFZiFydsg@mail.gmail.com> |
--000000000000f31f8a0578f8b9e1
Content-Type: text/plain; charset="UTF-8"
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
--000000000000f31f8a0578f8b9e1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div dir=3D"ltr">Hi all,<div><br></div><div>I'm using =
logrotate to rotate both argus.out and radium.out. Here is my /etc/logrotat=
e.d for radium and argus</div><div><br></div><div><br></div><div><div>/var/=
log/radium/radium.out {</div><div>=C2=A0 =C2=A0 missingok</div><div>=C2=A0 =
=C2=A0 notifempty</div><div>=C2=A0 =C2=A0 compress</div><div>=C2=A0 =C2=A0 =
size 100M</div><div>=C2=A0 =C2=A0 daily</div><div>=C2=A0 =C2=A0 create 0600=
root root</div><div>}</div><div><br></div><div><br></div><div><br></div><d=
iv>/var/log/argus/argus.out {</div><div>=C2=A0 =C2=A0 missingok</div><div>=
=C2=A0 =C2=A0 notifempty</div><div>=C2=A0 =C2=A0 compress</div><div>=C2=A0 =
=C2=A0 size 100M</div><div>=C2=A0 =C2=A0 daily</div><div>=C2=A0 =C2=A0 crea=
te 0600 root root</div><div>}</div></div><div><br></div><div><br></div><div=
>radiums config works fine, but for the argus once it creates the compresse=
d file and moves it, argus.out is always 0 bytes, only way to have argus lo=
g back to argus.out it is to kill the argus pid and start argus. While radi=
um keeps logging to radium.out.</div><div><br></div><div><br></div><div>Tha=
nks</div><div>Monah</div><div><br></div></div></div>
--000000000000f31f8a0578f8b9e1--