Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-3037

IllegalArgumentException in logback Logger

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • Commons Log 4.0.0
    • Commons
    • None

    Description

      Since switching to logback in SLING-2024, a number of integration tests are failing, typical stack trace:

      java.lang.IllegalArgumentException:
      For logger [apps.integration-test] child name [apps.integration-test.srt$1378284549103 passed as parameter, may not include '.' after index22
      at ch.qos.logback.classic.Logger.createChildByName(Logger.java:357)
      at ch.qos.logback.classic.LoggerContext.getLogger(LoggerContext.java:143)
      at ch.qos.logback.classic.LoggerContext.getLogger(LoggerContext.java:45)
      at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:253)
      at org.apache.sling.scripting.core.impl.DefaultSlingScript.verifySlingBindings(DefaultSlingScript.java:676)

      Attachments

        1. SLING-3037.patch
          4 kB
          Chetan Mehrotra

        Issue Links

          Activity

            People

              chetanm Chetan Mehrotra
              bdelacretaz Bertrand Delacretaz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: