Talk:Jetty/Howto/Configure Request Logs
From Eclipsepedia
The example for configuring a per-webapp request log on this page doesn't seem to work for me.
On http://wiki.eclipse.org/Jetty/Tutorial/RequestLog it shows a different way to configure a per-webapp request log:
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
...
<Set name="handler">
<New id="RequestLog" class="org.eclipse.jetty.server.handler.RequestLogHandler">
<Set name="requestLog">
<New id="RequestLogImpl" class="org.eclipse.jetty.server.NCSARequestLog">
<Set name="filename"><Property name="jetty.logs" default="./logs"/>/test-yyyy_mm_dd.request.log</Arg>
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
<Set name="LogTimeZone">GMT</Set>
<Set name="retainDays">90</Set>
<Set name="append">true</Set>
</New>
</Set>
</New>
</Call>
...
</Configure>
This did work.