large logs file

Started by Vhtrian, September 22, 2020, 12:15:20 PM

Previous topic - Next topic

Vhtrian

Hello , anyone to know how I can reduce storage 2 logs file on picture ?
Thank you


cinique

You learn how to manage a server!  ::)
Clue: logrotate

Igor S.

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



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services