Author Topic: Cwppro - Huge log files in  (Read 9799 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Re: Cwppro - Huge log files in
« Reply #15 on: November 21, 2020, 06:52:14 PM »
Thank you. That worked with a little twining.

For the domlogs I enabled log rotate from cwp admin
->
File manager -> Logrotate manager -> Add new conf file
at filename I put
domlogs

As contents I used:

Code: [Select]
/usr/local/apache/domlogs/*.log {
    rotate 7
    daily
    missingok
    notifempty
    sharedscripts
    compress
    minsize 1048576
    delaycompress
    postrotate
/bin/kill -HUP `cat /usr/local/apache/logs/httpd.pid 2>/dev/null` 2> /dev/null || true
    endscript
}
After clicking save, I also run it once.

Offline
*
Re: Cwppro - Huge log files in
« Reply #16 on: November 27, 2020, 09:54:56 AM »
Once everything start to work, I configure logs to /dev/null :D