Control Web Panel
WebPanel => Apache => Topic started by: Vhtrian on September 22, 2020, 12:15:20 PM
-
Hello , anyone to know how I can reduce storage 2 logs file on picture ?
Thank you
(https://i.imgur.com/jS49mr4.jpg)
-
You learn how to manage a server! ::)
Clue: logrotate
-
You can clean the log with two commands below:
echo -n '' > /usr/local/apache/logs/access_log
echo -n '' > /usr/local/apache/logs/suphp_log
Or (the best way) to configure logrotate as @cynique said before