From: Dejan Dimic Date: 2008-12-23T17:21:27+09:00 Subject: Re: Logfile name format in logging On Dec 23, 8:10 am, Muruga Raj wrote: > Hi, > > I am using the "logging" gem for logging. > I used the "RollingFile" appender to rotate the log files. > When the files are rotated they are saved with the sequential number > extension. > That is like develeopment.1.log, development.2.log etc. > > Is there any way to add the timestamp for the rotated log file name such > as development_12232008.log etc? > -- > Posted viahttp://www.ruby-forum.com/. You can write your own Logging::Appenders::RollingFileWithTimeStamp based od Logging::Appenders::RollingFile.