1<?xml version="1.0"?> 2<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure.dtd"> 3 4<!-- =============================================================== --> 5<!-- Mixin the DebugHandler --> 6<!-- =============================================================== --> 7 8 9<Configure id="Server" class="org.eclipse.jetty.server.Server"> 10 <Get id="oldhandler" name="handler"/> 11 <Set name="handler"> 12 <New id="DebugHandler" class="org.eclipse.jetty.server.handler.DebugHandler"> 13 <Set name="handler"><Ref id="oldhandler"/></Set> 14 <Set name="outputStream"> 15 <New class="org.eclipse.jetty.util.RolloverFileOutputStream"> 16 <Arg type="String"><Property name="jetty.logs" default="./logs"/>/yyyy_mm_dd.debug.log</Arg> 17 <Arg type="boolean">true</Arg> <!-- append --> 18 <Arg type="int">90</Arg> <!-- retain days --> 19 </New> 20 </Set> 21 </New> 22 </Set> 23</Configure> 24