[ 
http://issues.ops4j.org/browse/PAXWEB-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14158#action_14158
 ] 

Charles Moulliard commented on PAXWEB-269:
------------------------------------------

A) Features to be deployed on karaf 2.2 to test 

features:addUrl mvn:org.ops4j.pax.web/features/1.1.0-SNAPSHOT/xml/features

features:install servlet-2.5
features:install jetty/7.3.1.v20110307
features:install pax-web-jetty

B) Create a org.ops4j.pax.web.cfg file in /etc directory

org.ops4j.pax.web.http.port=8181
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
org.ops4j.pax.web.log.ncsa.extended=true
org.ops4j.pax.web.log.ncsa.timezone=GMT



> 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
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to