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

Initial log messages have changed after 0.9.19 version

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • None
    • None
    • logback-core
    • None

    Description

      Sorry, I posted this message in SLF4J, and it is probably better here.

      I'm developing an application for command line, and I use slf4j + logback for logging (http://db2sa.sourceforge.net/)
      When using normally (not testing, not debugging), I have to show less messages in the screen, so the logging has not to be verbose. Just the important messages has to be shown.

      I was using the version 0.9.15, and I updated my application to the version 0.9.21.
      I saw, that the layout has to be changed to encoder, and I did it in the xml configuration file.

      However, I'm facing a problem when starting the application. The logger is showing all the configuration phase, and I'm sure that the internal log is not in debug:
      <configuration debug="false">
      It seems that the new version does not take in account this property.

      I searched the problematic version, and this issue was introduced in the version 0.9.19.

      I created an example for showing the difference when loading the configuration between 0.9.18 and 0.9.19.
      It can be executed by running the .bat

      Attachments

        Activity

          People

            logback-dev Logback dev list
            angoca Andres Gomez Casanova
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: