[logback-dev] [JIRA] Created: (LBCLASSIC-252) Logback fails to load Groovy config when run under @Grab
Evgeny Goldin (JIRA)
noreply-jira at qos.ch
Fri Feb 18 01:00:51 CET 2011
Logback fails to load Groovy config when run under @Grab
--------------------------------------------------------
Key: LBCLASSIC-252
URL: http://jira.qos.ch/browse/LBCLASSIC-252
Project: logback-classic
Issue Type: Bug
Affects Versions: 0.9.28
Reporter: Evgeny Goldin
Assignee: Logback dev list
Attachments: error.txt, logback.groovy
*{{"ch.qos.logback.classic.gaffer.GafferConfigurator:48"}}* creates a GroovyShell() without specifying the classloader. When I have a Groovy application using Logback with Groovy config and it is retrieved with Groovy @Grab, where CL hierarchy is somewhat different from a usual invocation, the execution fails, error log is attached together with Groovy config.
Here is the Groovy script using GCommons library that uses Logback: http://goo.gl/wuU05
Here is the patch that is now part of GCommons to make Logback load the config: http://goo.gl/pvSzz
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list