[JIRA] Created: (LBCLASSIC-252) Logback fails to load Groovy config when run under @Grab

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

[ http://jira.qos.ch/browse/LBCLASSIC-252?page=com.atlassian.jira.plugin.syste... ] Evgeny Goldin updated LBCLASSIC-252: ------------------------------------ Attachment: error.txt logback.groovy
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

[ http://jira.qos.ch/browse/LBCLASSIC-252?page=com.atlassian.jira.plugin.syste... ] Ceki Gulcu reassigned LBCLASSIC-252: ------------------------------------ Assignee: Ceki Gulcu (was: Logback dev list)
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: Ceki Gulcu 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
participants (2)
-
Ceki Gulcu (JIRA)
-
Evgeny Goldin (JIRA)