Merge branch 'jetty-9.4.x' into jetty-10.0.x
This commit is contained in:
commit
5288dfcb40
|
@ -1146,6 +1146,7 @@ public class XmlConfigurationTest
|
|||
|
||||
ByteArrayOutputStream logBytes = null;
|
||||
Logger logger = Log.getLogger(XmlConfiguration.class);
|
||||
logger.setDebugEnabled(true);
|
||||
if (logger instanceof StdErrLog)
|
||||
{
|
||||
StdErrLog stdErrLog = (StdErrLog)logger;
|
||||
|
@ -1155,6 +1156,7 @@ public class XmlConfigurationTest
|
|||
|
||||
xmlConfiguration.configure();
|
||||
|
||||
logger.setDebugEnabled(false);
|
||||
if (logBytes != null)
|
||||
{
|
||||
String[] lines = logBytes.toString(UTF_8.name()).split(System.lineSeparator());
|
||||
|
|
Loading…
Reference in New Issue