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

Logrotator CONFIG!



/var/log/wtmp {
    monthly
    create 0664 root utmp
    rotate 1
}


On logrotate, is it possible to make the filename instead of,


ex:

wtmp -- origname
wtmp.1 -- log rotated

/

to 


wtmp-mar132002 -- somthing like this?

it will log by date (previous date) --

ex:

Yesterday's date was JAN1 and Today's date is JAN2,

it will log

wtmp-JAN1, instead! and not wtmp.1


??


Any ideas is a great help!





thanks! :)



 louie miranda   (axis0.ath.cx)
------------------------------------------
Security Is A Series Of Well-Defined Steps

chmod -R 0 / ; and smile :)






Reply to: