lib/rubyfox/server/data/lib/jetty/etc/jetty-debug.xml in rubyfox-server-2.11.1.0 vs lib/rubyfox/server/data/lib/jetty/etc/jetty-debug.xml in rubyfox-server-2.12.1.0
- old
+ new
@@ -1,23 +1,36 @@
<?xml version="1.0"?>
-<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_0.dtd">
+<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">
<!-- =============================================================== -->
-<!-- Mixin the DebugHandler -->
+<!-- The DebugListener -->
<!-- =============================================================== -->
-
<Configure id="Server" class="org.eclipse.jetty.server.Server">
- <Get id="oldhandler" name="handler"/>
- <Set name="handler">
- <New id="DebugHandler" class="org.eclipse.jetty.server.handler.DebugHandler">
- <Set name="handler"><Ref refid="oldhandler"/></Set>
- <Set name="outputStream">
- <New class="org.eclipse.jetty.util.RolloverFileOutputStream">
- <Arg type="String"><Property name="jetty.logs" default="./logs"/>/yyyy_mm_dd.debug.log</Arg>
- <Arg type="boolean">true</Arg> <!-- append -->
- <Arg type="int">90</Arg> <!-- retain days -->
- </New>
- </Set>
+ <New id="DebugListener" class="org.eclipse.jetty.server.DebugListener">
+ <Arg name="outputStream">
+ <New class="org.eclipse.jetty.util.RolloverFileOutputStream">
+ <Arg type="String"><Property name="jetty.logs" default="./logs"/>/yyyy_mm_dd.debug.log</Arg>
+ <Arg type="boolean"><Property name="jetty.debug.append" default="true"/></Arg>
+ <Arg type="int"><Property name="jetty.debug.retainDays" default="14"/></Arg>
+ <Arg>
+ <Call class="java.util.TimeZone" name="getTimeZone"><Arg><Property name="jetty.debug.timezone" default="GMT"/></Arg></Call>
+ </Arg>
</New>
- </Set>
+ </Arg>
+ <Arg name="showHeaders" type="boolean"><Property name="jetty.debug.showHeaders" default="true"/></Arg>
+ <Arg name="renameThread" type="boolean"><Property name="jetty.debug.renameThread" default="false"/></Arg>
+ <Arg name="dumpContext" type="boolean"><Property name="jetty.debug.dumpContext" default="true"/></Arg>
+ </New>
+
+ <Call name="addBean"><Arg><Ref refid="DebugListener"/></Arg></Call>
+
+ <Ref refid="DeploymentManager">
+ <Call name="addLifeCycleBinding">
+ <Arg>
+ <New class="org.eclipse.jetty.deploy.bindings.DebugListenerBinding">
+ <Arg><Ref refid="DebugListener"/></Arg>
+ </New>
+ </Arg>
+ </Call>
+ </Ref>
</Configure>