Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.7
    • Fix Version/s: 0.10.0
    • Component/s: Appender
    • Labels:
      None
    • Environment:
      gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)

      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

        Activity

        Hide
        Curt Arnold added a comment -

        There are a large number of issues with the timezone handling (like reseting the default TZ) in 0.9.7 which have been resolved in the CVS HEAD. I am unable to provide any assistance with 0.9.7 as it is quite out of date.

        DailyRollingFileAppender has been removed from the CVS as it's log4j original has been deprecated for a long period of time. Unfortunately for you, the replacement log4j 1.3 RollingFileAppender has not yet been ported to CVS HEAD. See bugs LOGCXX-39 and LOGCXX-52 for more details.

        Show
        Curt Arnold added a comment - There are a large number of issues with the timezone handling (like reseting the default TZ) in 0.9.7 which have been resolved in the CVS HEAD. I am unable to provide any assistance with 0.9.7 as it is quite out of date. DailyRollingFileAppender has been removed from the CVS as it's log4j original has been deprecated for a long period of time. Unfortunately for you, the replacement log4j 1.3 RollingFileAppender has not yet been ported to CVS HEAD. See bugs LOGCXX-39 and LOGCXX-52 for more details.

          People

          • Assignee:
            Curt Arnold
            Reporter:
            saravanan Elangovan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development