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

Cannot re-initialize the SimpleLogger anymore.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.7.21
    • Fix Version/s: 1.7.22
    • Component/s: slf4j-simple
    • Labels:
      None
    • Severity:
      critical

      Description

      This commit removed the option to call the init() method of class SimpleLogger to re-initialize the static state. This is needed by Maven. For reference see method logging of class MavenCli calling line 33 of class MavenSlf4jSimpleFriend. There needs to be a way to configure the SimpleLogger programmatically by e.g. setting a system property after that class has been initialized.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ceki Ceki Gülcü
              Reporter:
              schulte Christian Schulte
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: