Details
Description
Hai all !
I have a problem in DailyRollingFileAppender ,say i am rolling my log file for every minute .it works fine as it gets rolled for every minute and gets saved as an extension of the minute it rolled in GMT time as defalult but in my case i want to save the file as "IST" timezone minute extension ...
here is my part of the code...
LayoutPtr simpleLayout =new (SimpleLayout);
dfapp=new DailyRollingFileAppender(simpleLayout,logpath,".%Y-%m-%d-%H-%M");
and logpath is my filename to be logged...
kindly help me its urgent... what i must do to set the default timezone of GMT to our own timezone (IST) for dailyrollingfileappender as even i tried with rollingcalendar(as dailyrollingfileappender uses internally) it doesnt work ...
kindly give me a exact command to use ...
Thanks in advance !!!!!!
E.saravanan
software programmer
IndigoTX