Hi Neil Yes, the Jetty server is setup programmatically and is a private field to the implementation. And there is no hook to add such an NCSARequestLog instance.
Having said that, I would think the community would be open to a decent patch ;-) Regards Felix > Am 19.12.2016 um 18:41 schrieb Neil Bartlett <[email protected]>: > > Hi, > > I’m trying to figure out how to enable access/request logging in the Felix > HTTP Jetty implementation. I’m looking at org.apache.felix.http.jetty > version, which (according to its manifest) embeds Jetty version > 9.3.12.v20160915. > > The base Jetty documentation > (https://www.eclipse.org/jetty/documentation/current/configuring-jetty-request-logs.html > > <https://www.eclipse.org/jetty/documentation/current/configuring-jetty-request-logs.html>) > talks about creating an instance of NCSARequestLog and providing it to the > Server object with setRequestLog(). Unfortunately, looking at the code, it > seems like there is no way to do this in the Felix wrapper around Jetty. I’m > looking at SVN trunk revision 1773432. Could one of the developers confirm > this assessment? > > Many thanks, > Neil
