Hi, I'm trying to setup log rotation and deletion for jetty request log.
I have following jetty-requestlog.xml under jetty_base/etc Haven't enabled the jetty request log module in the start.ini file. I'm passing jetty-requestlog.xml as an argument start.jar. Logs are getting rotated every night but *deletion is not happening*. Can anyone please help me debug? <?xml version="1.0"?> <!DOCTYPE Configure PUBLIC "-//Jetty//Configure//EN" " http://www.eclipse.org/jetty/configure_9_3.dtd"> <!-- =============================================================== --> <!-- Configure the Jetty Request Log --> <!-- =============================================================== --> <Configure id="Server" class="org.eclipse.jetty.server.Server"> <!-- =========================================================== --> <!-- Configure Request Log for Server --> <!-- (Use RequestLogHandler for a context specific RequestLog --> <!-- =========================================================== --> <Set name="RequestLog"> <New id="RequestLog" class="org.eclipse.jetty.server.AsyncNCSARequestLog"> <Set name="filename">/var/log/jolokia_proxy/yyyy_mm_dd.request.log</Set> <Set name="append">true</Set> <Set name="extended">false</Set> <Set name="LogTimeZone">GMT</Set> <Set name="retainDays">1</Set> </New> </Set> </Configure> I'm using jetty 9.3.10.v20160621 Is there anyway to setup log rotation for request log based on size and backup index? Similar to jetty logs? Thanks DP
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
