0
votes

I'm starting a Jetty webserver from within a Groovy script. Jetty's default logging is StdErrLog. Now I'd like to configure this logging but the documentation only mentions how to do this when using the start.jar method to start Jetty.

How do I configure, more specifically, configure rotating log files, with StdErrLog on an embedded Jetty?

1
Why StdErrLog? why not configure Jetty to use java.util.logging and then configure java.util.logging to display/filter/capture what events you want? - Joakim Erdfelt
That might be possible but I was looking specifically how to do this with StdErrLog. - Nicolas Mommaerts

1 Answers

1
votes

This has been answered before here. It is a few years old but should help you on your way. Additionally a page was accidentally clipped from the 9.4.x documentation that I will re-add, but you can find for now in the 9.3.x documentation here. These cookbook examples should also help, but again they are a few years old now.