private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
This is the comparison of Logging and Debugging between Jetty 5.xx with Jetty 6...
Logging
Logging can be enabled by configuring the jetty.xml as follows:
This is the syntax for jetty 5:
To configure a request log for the whole server in jetty.xml:
<Set name="RequestLog">
<New class="org.mortbay.http.NCSARequestLog">
<Set name="filename"><SystemProperty name="jetty.home" default="."/>/logs/yyyy_mm_dd.request.log</Set>
<Set name="retainDays">90</Set>
<Set name="append">true</Set>
<Set name="extended">true</Set>
<Set name="LogTimeZone">GMT</Set>
<Set name="ignorePaths">
<Array type="String">
<Item>/images/*</Item>
<Item>*.css</Item>
</Array>
</Set>
</New>
</Set>
this was change in jetty 6 to this:
<Set name="requestLog">
<New id="requestLogImpl" class="org.mortbay.jetty.NCSARequestLog">
<Arg><SystemProperty name="jetty.home" default="."/>/logs/yyyy_mm_dd.request.log</Arg>
<Set name="retainDays">90</Set>
<Set name="append">true</Set>
<Set name="extended">false</Set>
<Set name="LogTimeZone">GMT+8</Set>
</New>
</Set>