Found a fault with ups.log ?

nopro

Dabbler
Joined
Apr 7, 2019
Messages
11
Hello
I noticed that /var/log/ups.log had been moved to /var/log/nut/ups.log and was not rotating (4,5mb)
so i made a change in /etc/newsyslog.conf
from
Code:
/var/log/ups.log        uucp:uucp       640  2     100  *     JC   /var/db/nut/upslog.pid

to
Code:
/var/log/nut/ups.log    uucp:uucp       640  2     100  *     JC   /var/db/nut/upslog.pid

and
Code:
/var/log/nut/ups.log <2J>: size (Kb): 4588 [100] --> trimming log....

when executing newsyslog -v.
Did i do the right editing newsyslog.conf or did i messup? :)
 

nopro

Dabbler
Joined
Apr 7, 2019
Messages
11
so is it safe or do i need to revert the change i did?
Thanks!
 
Top