Jetty: How to write to access logs

Posted by mdemmitt on Stack Overflow See other posts from Stack Overflow or by mdemmitt
Published on 2009-08-21T20:57:19Z Indexed on 2010/03/24 10:03 UTC
Read the original article Hit count: 164

Filed under:
|
|
|

Hi all,

In my Java servlet code, I want to be able to programatically write to the jetty access log. I am aware that jetty will automatically log every incoming HTTP request to the access log. However, my servlet needs to occasionally append it's own line to the access log. Has anyone here done something similar?

Thanks!

© Stack Overflow or respective owner

Related posts about jetty

Related posts about logging