Details

    • Type: Task
    • Status: Resolved
    • Priority: 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

        Attachments

          Activity

            People

            • Assignee:
              carnold@apache.org Curt Arnold
              Reporter:
              saravanane saravanan Elangovan
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: