#rotate 20 # use date as a suffix of the rotated file #dateext # create new (empty) log files after rotating old ones create #don't change this value #maxsize=25600k size=190k /var/log/SOC-Infolog.log { notifempty missingok rotate 1000 #copytruncate #rotate 4 } /var/log/SOC-Errorlog.log { notifempty missingok rotate 1000 #copytruncate #rotate 20 } /var/log/mcu-debug.log { notifempty missingok rotate 317 #copytruncate #rotate 5 }