Author Topic: Rotation logs in CWP  (Read 7294 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Rotation logs in CWP
« on: November 19, 2017, 06:02:07 PM »
I have a suggestion. Maybe you need to use rotation logs, because when many people visit a sites, the log file has a very large size.

My rotation configuration in "/etc/logrotate.d/cwp"
Code: [Select]
/usr/local/apache/logs/*_log {
    missingok
    notifempty
    sharedscripts
    delaycompress
    postrotate
/bin/kill -HUP `cat /usr/local/apache/logs/httpd.pid 2>/dev/null` 2> /dev/null || true
    endscript
}

Offline
*
Re: Rotation logs in CWP
« Reply #1 on: July 06, 2019, 03:11:00 AM »
Thank you for giving me a script for apache / logs entries. What about the rotation problem in apache / domlogs?

Offline
*
Re: Rotation logs in CWP
« Reply #2 on: July 06, 2019, 11:33:32 AM »
cwp is planning to have soon integration with stats/graphs then this functionality will also handle logs.
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.