Jetty 9.3 access logging recommended configuration
Marvin Addison
marvin.addison at gmail.com
Thu Nov 19 12:02:00 EST 2015
>
> <Configure id="Server" class="org.eclipse.jetty.server.Server">
> <Set name="requestLog">
> <New id="RequestLogImpl"
> class="ch.qos.logback.access.jetty.RequestLogImpl">
> <Set name="fileName"><Property name="jetty.base" default="."
> />/resources/logback-access.xml</Set>
> </New>
> </Set>
> </Configure>
>
Using a debugger and stepping into the Jetty request handling code, I've
confirmed that the above properly sets the logback RequestLogImpl on the
Jetty Server component. I've also confirmed that the log(Request, Response)
method on that object is being invoked, but it's not doing anything because
the component is uninitialized. It's not clear how the start() method ever
got called to perform initialization, but at least I have a lead on where
to go to fix.
M <dev-unsubscribe at shibboleth.net>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shibboleth.net/pipermail/dev/attachments/20151119/6d92ddf5/attachment.html>
More information about the dev
mailing list