Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 680 Bytes

logrotate.md

File metadata and controls

26 lines (21 loc) · 680 Bytes

Edit file HyperBackup and enter nocompress for HyperBackup logs:

vi /usr/local/etc/logrotate.d/HyperBackup

/var/log/synohbkpvfs.log {
    missingok
    postrotate
        /usr/syno/bin/synosystemctl reload syslog-ng || true
    endscript
}

/var/packages/HyperBackup/var/log/*.log {
    missingok
    #added
    nocompress
    #added
    postrotate
        /usr/syno/bin/synosystemctl reload syslog-ng || true
    endscript
}

Note: This has to be done after every DSM or Hyper Backup update.

I've also created a little script, which changes the config file automatically if necessary and unzips already zipped log files: stop_logcomp.sh