Uploaded image for project: 'SLF4J'
  1. SLF4J
  2. SLF4J-276

Misc slf4j-simple fixes and enhancements

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.7.x
    • Implementations
    • None
    • Operating System: All
      Platform: All

    Description

      (Note: version should be 1.7.x, which is unavailable in Bugzilla)

      Recent 1.7.x versions of SLF4J inadvertently broke the ability to turn off a given logger (in SimpleLogger module). This following pull request fixes this, as well as the following minor points:

      Bug fixes
      =========

      • regression: restore ability to completely turn off logging for a given logger (level "off")
      • bug fix: force output file (if any) to UTF-8 to avoid platform-dependent surprises while logging to a file

      Enhancements
      ============

      • Java 5 syntax (less Eclipse warnings)
      • update documentation (including example simplelogger.properties file which was out of sync with recent 1.7.[1-2] changes)
      • add SimpleLoggerAccess class to enable to change SimpleLogger logger levels at runtime (used e.g. in a monitoring utility)

      You will find all of those in pull request 28:

      https://github.com/qos-ch/slf4j/pull/28

      Thanks!

      Attachments

        Activity

          People

            slf4j-dev SLF4J developers list
            cedrik.lime@gmail.com Cédrik LIME
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: