Date String in rotated Logs

Vassilios Kotoulas fedoralist at kotoulas.de
Sun May 1 04:02:08 UTC 2005


Hi,

I want to have a date string in my rotated logs, so I added
extension .`date +%Y$m%d`
in my /etc/logrotate.conf but it doesn't work. I have still
$LOGFILE.1.gz 

Can I do this via logrotate or have must I run a script via cron after
logrotate runs which renames the .1.gz file?

Regards
-- 
Vassilios Kotoulas
PGP Key ID 0x6F2B0137B1703DF8




More information about the fedora-list mailing list