currently my logrotate configuration adds a single number after the rotated log file:
mylogfile.log is rotated to mylogfile.log.1
I would like to change the extension to mylogfile.log.Current date
does anyone know a way to do this?
my log rotate code is :-
Currently am renaming the rotated file with script.is there any option to change the extension of log rotate default configuration. Please help me
is there any option to change the position of extension,for example mylogfile.log to mylogfile_currentdate.log.