[logback-user] Jetty config docs incorrect for defining xml location

Wilkes, Chris cwilkes at gmail.com
Fri Aug 13 02:22:41 CEST 2010


On the webpage
   http://logback.qos.ch/access.html
the
<Set name="fileName">path/to/myaccess.xml</Set>
part should be *inside* the definition of the request log  
implementation, should look like this:

<Ref id="requestLog">
	<Set name="requestLog">
		<New id="requestLogImpl"  
class="ch.qos.logback.access.jetty.RequestLogImpl">
			<Set name="fileName">path/to/myaccess.xml</Set>
		</New>
	</Set>
</Ref>

With the current docs Jetty doesn't even start up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://qos.ch/pipermail/logback-user/attachments/20100812/f65e8a5d/attachment.html>


More information about the Logback-user mailing list