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

scan does not work

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.1.2, 1.1.3
    • logback-classic
    • Windows 8.1
      JDK8
      spring-boot 1.2.2-RELEASE

    Description

      The specification <configuration scan="true> does not work with spring-boot application.

      By testing the recent source code, I realized ReconfigureOnChangeFilter.decide become not called after the spring-boot application started.
      After that, it is called several times only when some log message is output.
      Moreover, timestamp check is skipped for 511 calls at most by checking invocationCounter and mask.

      So, even when the time period (60 sec) has passed, the timestamp of the configuration files are never checked unless log messages are output many times.

      Attachments

        Activity

          People

            logback-dev Logback dev list
            tetsuya Tetsuya Ikeda
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: