how to change the period of /log/cacti.log

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
yclwm3
Posts: 1
Joined: Tue Aug 05, 2014 8:57 pm

how to change the period of /log/cacti.log

Post by yclwm3 »

hello,everyone,
i want to change the period of /log/cacti.log longer,now the default period is only 7days,
where i should go to change the code ?

thanks!
sbotnick
Posts: 38
Joined: Tue Sep 10, 2019 12:55 am

Re: how to change the period of /log/cacti.log

Post by sbotnick »

Guessing by the file path you have a Linux box. It's most likely handled by logrotate. Mine is here: /etc/logrotate.d/cacti
Post Reply

Who is online

Users browsing this forum: macan and 12 guests