I want to append the date to my log file before its name./opt/logs/myapp.log{        rotate 6        hourly        dateext        dateformat %Y-%m-%d        ifempty        postrotate                service rsyslog rotate >/dev/null 2>&1 || true        endscript}This is my configuration.With this configuration, it is rotating the logfile but it is appending the date at the end of the  name
How to append the date to log file before it's name?
syslog;rsyslog;logrotate