I am trying to enable the retainDays option in my pax-web config like this:
org.ops4j.pax.web.config.file=etc/jetty.xml
org.osgi.service.http.port=80
javax.servlet.context.tempdir=data/pax-web-jsp
org.ops4j.pax.web.log.ncsa.format = /yyyy_mm_dd.request.log
org.ops4j.pax.web.log.ncsa.directory = ${karaf.data}/ncsa-log/
org.ops4j.pax.web.log.ncsa.retainDays = 3
org.ops4j.pax.web.log.ncsa.enabled = true
I am using pax-web version 1.1.17 (org.ops4j.pax.web.pax-web-jetty (1.1.17)
) embedded in my ServiceMix 5.1.4.
However the jetty seems not starting when I restart my service.
As the official documentation mentions some other options, I also tried to add org.ops4j.pax.web.log.ncsa.extended = true
but it does make no effect.
In fact in the documentation, there's no explanation of how to use the retainDays (I read sometime retaindays
and tried also in lowercase) and what is the purpose of the option org.ops4j.pax.web.log.ncsa.extended
.
Any idea on how to enable retainDays
option?
UPDATE:
What's totally confused me is this new feature request in JIRA which mention a fixVersion: 1.1.0 which is inferior to my 'even old' version 1.1.17.