Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-554

improve RollingCalendar and TimeBasedFileNamingAndTriggeringPolicyBase to enable periodic loggic

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 0.9.29
    • logback-classic
    • None
    • all

    Description

      logback currently allows logging periodically however it is limited to every 1 sec, 1 min, 1 hr , 1 day etc. When I want the log file to roll over say every 10 sec or 20 minutes it is not possible. RollingCalendar and TimeBasedFileNamingAndTriggeringPolicyBase can be improved or extened to provide this functionality.

      Attachments

        1. logback.xml
          0.9 kB
          Murali Rath
        2. PeriodicRollingCalendar.java
          0.9 kB
          Murali Rath
        3. PeriodicTimeBasedFileNamingAndTriggeringPolicy.java
          0.6 kB
          Tomas Hudec
        4. PeriodicTimeBasedFileNamingAndTriggeringPolicy.java
          3 kB
          Murali Rath

        Activity

          People

            logback-dev Logback dev list
            mmrath Murali Rath
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: