395394 allow logging from boot classloader
This commit is contained in:
parent
cfa1c1e2e4
commit
61a0d48df4
|
@ -117,8 +117,6 @@ public class XmlConfiguration
|
||||||
private synchronized static XmlParser initParser()
|
private synchronized static XmlParser initParser()
|
||||||
{
|
{
|
||||||
XmlParser parser = new XmlParser();
|
XmlParser parser = new XmlParser();
|
||||||
try
|
|
||||||
{
|
|
||||||
URL config60 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_6_0.dtd",true);
|
URL config60 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_6_0.dtd",true);
|
||||||
URL config76 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_7_6.dtd",true);
|
URL config76 = Loader.getResource(XmlConfiguration.class,"org/eclipse/jetty/xml/configure_7_6.dtd",true);
|
||||||
parser.redirectEntity("configure.dtd",config76);
|
parser.redirectEntity("configure.dtd",config76);
|
||||||
|
@ -135,12 +133,7 @@ public class XmlConfiguration
|
||||||
|
|
||||||
parser.redirectEntity("-//Mort Bay Consulting//DTD Configure//EN",config76);
|
parser.redirectEntity("-//Mort Bay Consulting//DTD Configure//EN",config76);
|
||||||
parser.redirectEntity("-//Jetty//Configure//EN",config76);
|
parser.redirectEntity("-//Jetty//Configure//EN",config76);
|
||||||
}
|
|
||||||
catch (ClassNotFoundException e)
|
|
||||||
{
|
|
||||||
LOG.warn(e.toString());
|
|
||||||
LOG.debug(e);
|
|
||||||
}
|
|
||||||
return parser;
|
return parser;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue