Package: logrotate
Version: 3.7.1-3

Often logs don't include year information, and once a log is emailed, the original file timestamps are lost.

I propose an enhancement that would grab the file timestamp and incorporate it into the subject line. Something like:

Subject: /var/log/syslog/mail.log [2006-06-02]


Under some circumstances, when using the "dateext" directive, the date extension will be present in the subject and meet this requirement, but it appears inconsistently (see my other bug report) and the above could work consistently regardless of whether "dateext" was in use.

Which file timestamp (mtime, ctime?) should be used for this purpose is another matter...

 -Tom


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to