Issue Details (XML | Word | Printable)

Key: LOGCXX-55
Type: Task Task
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Curt Arnold
Reporter: saravanan Elangovan
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Log4cxx

DailyRolling File Appender

Created: 02/Feb/05 07:40 PM   Updated: 11/Feb/05 01:40 PM
Return to search
Component/s: Appender
Affects Version/s: 0.9.7
Fix Version/s: 0.10.0

Time Tracking:
Not Specified

Environment:
gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)

Resolution Date: 11/Feb/05 01:40 PM


 Description  « Hide
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

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Curt Arnold made changes - 11/Feb/05 01:40 PM
Field Original Value New Value
Resolution Fixed [ 1 ]
Fix Version/s 0.9.8 [ 10782 ]
Assignee Michaël CATANZARITI [ mcatan ] Curt Arnold [ carnold@apache.org ]
Status Open [ 1 ] Resolved [ 5 ]