I am trying to make a configuration file for rotation in /etc/logrotate.d/ I did this:
sudo cat > service
create 0777 root root
I want to add message after rotation with current date and time, some text (for e.g "Complete") in file /var/log/logrotate.log . How can I do this?