Date String in rotated Logs

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux