Please kindly advise/assist. I want to set up logrotate that does the following: when the log file size reaches 10M,the file is rotated and also there is no keeping of older compressed log files. I have tried the following and its not working :
log_file_path {
size 10M
delaycompress
copytruncate
missingok
notifempty
}