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

No way to set "N"

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • Java 7, Tomcat

    Description

      In the Logback manual, it is said in the automatic reconfiguration page: http://logback.qos.ch/manual/configuration.html#autoScan

      That the configuration will be reloaded every "N" times, and that this is done with a default value of 16.

      Looking at the source code for ReconfigureOnChangeFilter, there is no way to set this "N", although the documentation claims otherwise.

      This means this functionality is useless for testing, which is my use case, as I must generate a bunch of bogus calls in order to get the filter to trigger the reload.

      For testing, there should be a way to turn off this rate limiting reloading entirely, if it is useless and inappropriate, as in my case.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated: