HEX
Server: Apache
System: Linux 162-240-236-42.bluehost.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User: bt667 (1004)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //etc/sysconfig/kcare/libcare.logrotate
/var/log/libcare/server.log {
    daily
    rotate 5
    maxage 5
    maxsize 10M
    missingok
    notifempty
    compress
    nocreate
    sharedscripts
    lastaction
        # Reopen server.log after rotating
        [ ! -S /var/run/libcare.sock ] || \
            /usr/libexec/kcare/libcare-client reconf
        # Remove really old logs (30+ days old)
        find /var/log/libcare/ -name "*.gz" -mtime +30 -delete
    endscript
}

/var/log/libcare/[0-9]*.log {
    daily
    rotate 5
    maxage 5
    maxsize 1M
    missingok
    notifempty
    compress
    nocreate
    sharedscripts
    lastaction
        # Remove really old logs (30+ days old)
        find /var/log/libcare/ -name "*.gz" -mtime +30 -delete
    endscript
}