this is to add function to rotate specific log
create a new file at /etc/logroate.d/
and write this into it for rotate log function
/var/log/SAT-backup/*.log {
monthly
rotate 4
missingok
compress
}
this blog was created for my own personal notes. If any of the post is useful for you, i happy to hear that but if there is any mistake make on my notes, please correct me