Uploaded image for project: 'Log4cxx'
  1. Log4cxx
  2. LOGCXX-55

DailyRolling File Appender

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.7
    • 0.10.0
    • Appender
    • None
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment