[jira] [Comment Edited] (SLING-3037) IllegalArgumentException in logback Logger
[ https://issues.apache.org/jira/browse/SLING-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13759153#comment-13759153 ] Chetan Mehrotra edited comment on SLING-3037 at 9/5/13 3:18 PM: Patch which locally overrides the ch.qos.logback.classic.util.LoggerNameUtil with fix included as per comment by Chris in LOGBACK-384. The fix is also provided to Logback as per [1]. Untill it gets included we can override the LoggerNameUtil in Sling log bundle [1] http://jira.qos.ch/browse/LOGBACK-384?focusedCommentId=13483page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13483 was (Author: chetanm): Patch which locally overrides the ch.qos.logback.classic.util.LoggerNameUtil with fix included as per comment by Chris in LOGBACK-384 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 Attachments: SLING-3037.patch 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
[jira] [Comment Edited] (SLING-3037) IllegalArgumentException in logback Logger
[ https://issues.apache.org/jira/browse/SLING-3037?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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