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

JMX Triggered Rollover for RollingFileAppender

    XMLWordPrintable

Details

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • None
    • logback-core
    • None

    Description

      Hi logback dev,

      We use RollingFileAppender quite heavily and it works perfect for us in most cases. However, in some situation, we find the local file system we're logging to is almost full when our application is still running, so we want to trigger a rollover manually via jmx, which archives the log file to a networked file system.
      In this way, we can make some extra space on local file system and prevent losing logs.

      Would you like to consider adding jmx triggered rollover feature, which could work with all the built-in rolling policies (FixedWindowRollingPolicy and TimeBasedRollingPolicy) ?

      Is there any way to achieve jmx triggered rollover in logback at this moment?

      Thanks in advance!

      Best Regards,
      Tom

      Attachments

        Activity

          People

            logback-dev Logback dev list
            tomliliu tomliliu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: