Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 0a082ce11f880579ba83f911c82c8bac7e6c1192 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" "http://www.eclipse.org/jetty/configure_9_3.dtd">

<!-- =============================================================== -->
<!-- The DebugHandler                                                -->
<!-- =============================================================== -->

<Configure id="Server" class="org.eclipse.jetty.server.Server">
  <Call name="insertHandler">
    <Arg>
      <New id="DebugHandler" class="org.eclipse.jetty.server.handler.DebugHandler">
	<Set name="outputStream">
	  <New class="org.eclipse.jetty.util.RolloverFileOutputStream">
	    <Arg type="String"><Property name="jetty.debuglog.dir" deprecated="jetty.logs" default="./logs"/>/yyyy_mm_dd.debug.log</Arg>
	    <Arg type="boolean"><Property name="jetty.debuglog.append" default="true"/></Arg>
	    <Arg type="int"><Property name="jetty.debuglog.retainDays" default="90"/></Arg>
	    <Arg>
	      <Call class="java.util.TimeZone" name="getTimeZone"><Arg><Property name="jetty.debuglog.timezone" default="GMT"/></Arg></Call>
	    </Arg>
	  </New>
	</Set>
      </New>
    </Arg>
  </Call>
</Configure>

Back to the top