Tomcat log file in date format
Hi all,
I was asked to write a new logrotate file for tomcat logs..in which one
of the requirement is to have date and time appended at the end of
the file name.
I have tried dateext and dateformat-%Y-%m-%d-%s but these directives
didn't have the option for HH:MM.
I am very new to this logrotate... I think some scripting in logrotate
might be needed but I am very bad at scripting. Can anyone please tell
me how to get the requirement satisfied.
|