[ https://issues.apache.org/jira/browse/SLING-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13757629#comment-13757629 ]
Bertrand Delacretaz edited comment on SLING-3037 at 9/4/13 10:18 AM: --------------------------------------------------------------------- Fixed in http://svn.apache.org/r1519966 - all integration tests pass now. Using _ instead of $ in logger names (i.e. apps.integration-test.srt_1378284549103) fixes it - the new logback implementation considers $ as an alternate log hierarchy separator, which caused the error. was (Author: bdelacretaz): Fixed in http://svn.apache.org/r1519966 Using _ instead of $ in logger names (i.e. apps.integration-test.srt_1378284549103) fixes it - the new logback implementation considers $ as an alternate log hierarchy separator, which caused the error. > IllegalArgumentException in logback Logger > ------------------------------------------ > > Key: SLING-3037 > URL: https://issues.apache.org/jira/browse/SLING-3037 > Project: Sling > Issue Type: Bug > Components: Engine > Affects Versions: Scripting Core 2.0.24 > Reporter: Bertrand Delacretaz > Assignee: Bertrand Delacretaz > Fix For: Scripting Core 2.0.26 > > > 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) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira