HEX
Server: Apache
System: Linux cp11.instainternet.com 4.18.0-553.94.1.lve.el8.x86_64 #1 SMP Thu Jan 22 12:37:22 UTC 2026 x86_64
User: urbansports (1371)
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
}