Add a new property to enable jetty RequestLogHandler
----------------------------------------------------
Key: PAXWEB-269
URL: http://issues.ops4j.org/browse/PAXWEB-269
Project: Pax Web
Issue Type: New Feature
Reporter: Charles Moulliard
Most HTTPServer like Apache HTTP, .... proposes a logging feature which allow
to report info like :
client IP address, date, method, URL, result, size, referrer and user agent.
For example:
123.4.5.6 - - [27/Aug/2004:10:16:17 +0000]
"GET /jetty/tut/XmlConfiguration.html HTTP/1.1"
200 76793 "http://localhost:8080/jetty/tut/logging.html"
"Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040614 Firefox/0.8"
This report log is know as NCSA Log for historical reason
Jetty supports it : http://wiki.eclipse.org/Jetty/Howto/Configure_Request_Logs
By adding this properties in pax-web, we could generate those logs who interest
web analysts, marketing
org.ops4j.pax.web.log.ncsa.format = /yyyy_mm_dd.request.log
org.ops4j.pax.web.log.ncsa.retainDays = 90
org.ops4j.pax.web.log.ncsa.append = true/false
org.ops4j.pax.web.log.ncsa.extended = true/false
org.ops4j.pax.web.log.ncsa.LogTimeZone= GMT
http://download.eclipse.org/jetty/stable-7/apidocs/org/eclipse/jetty/server/NCSARequestLog.html
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general