Control Web Panel
WebPanel => Installation => Topic started by: asrof_id on January 27, 2021, 08:26:44 AM
-
Hello,
I have giant log files in "/usr/local/apache/logs",
access_log - 20 GB
modsec_audit.log - 8,5 GB
error_log - 3 GB
suphp_log - 3 GB
Can I delete them?
Thank you very much.
-
yes you can delete it.
-
yes you can delete it.
Not that helpful.
As mentioned in another thread, CWP provide a GUI to help you utilise logrotate.
One can lead a horse to water..
-
yes you can delete it.
Not that helpful.
As mentioned in another thread, CWP provide a GUI to help you utilise logrotate.
One can lead a horse to water..
so your horse can lead to sea to become a sea horse. I just answered him what he asked.
-
Hey, if you will delete log files you can lost your working WEB server. Stop it, guys. You must not delete anything you did not create!
Just clean the big logs or configure logrotate. The simplest logrotate config below:
# Logrotate CWP
/usr/local/apache/domlogs/*.log {
compress
delaycompress
daily
missingok
}
/usr/local/apache/logs/*.log {
compress
delaycompress
daily
missingok
}
-
Thank you very much,
Thanks God, I haven't delete the file.
Do you have a complete tutorial for this LOGROTATE?
Thank you very much Igor S.,
Hey, if you will delete log files you can lost your working WEB server. Stop it, guys. You must not delete anything you did not create!
Just clean the big logs or configure logrotate. The simplest logrotate config below:
# Logrotate CWP
/usr/local/apache/domlogs/*.log {
compress
delaycompress
daily
missingok
}
/usr/local/apache/logs/*.log {
compress
delaycompress
daily
missingok
}
-
you can try this tutorial
https://www.mysterydata.com/how-to-clean-all-log-files-in-cwp-control-webpanel-to-gain-disk-space/
-
Thank you very much Sandeep.
God bless you,
Hoped you are always healthy and happy!
you can try this tutorial
https://www.mysterydata.com/how-to-clean-all-log-files-in-cwp-control-webpanel-to-gain-disk-space/