[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Date String in rotated Logs



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]