Skip to content

Instantly share code, notes, and snippets.

@takai
Created January 31, 2012 23:06
Show Gist options
  • Save takai/1713660 to your computer and use it in GitHub Desktop.
Save takai/1713660 to your computer and use it in GitHub Desktop.
<!-- =========================================================== -->
<!-- Configure Request Log -->
<!-- Request logs may be configured for the entire server here, -->
<!-- or they can be configured for a specific web app in a -->
<!-- contexts configuration (see $(jetty.home)/contexts/test.xml -->
<!-- for an example). -->
<!-- =========================================================== -->
<Ref id="RequestLog">
<Set name="requestLog">
<New id="RequestLogImpl" class="org.mortbay.jetty.NCSARequestLog">
<Set name="filename"><SystemProperty name="jetty.logs" default="./logs"/>/yyyy_mm_dd.request.log</Set>
<Set name="filenameDateFormat">yyyy_MM_dd</Set>
<Set name="retainDays">90</Set>
<Set name="append">true</Set>
<Set name="extended">false</Set>
<Set name="logCookies">false</Set>
<Set name="LogTimeZone">GMT</Set>
<Set name="logLatency">true</Set>
</New>
</Set>
</Ref>
0:0:0:0:0:0:0:1%0 - - [31/1/2012:23:03:54 +0000] "GET /solr/admin/file/?contentType=text/xml;charset=utf-8&file=schema.xml HTTP/1.1" 200 34688 2
0:0:0:0:0:0:0:1%0 - - [31/1/2012:23:04:01 +0000] "GET /solr/admin/form.jsp HTTP/1.1" 200 3020 518
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment