Custom Logging in Jetty
There’re times when an out-of-the-box solution for access log is not enough and one has to customize the logging
output for various reasons, including security. Recently, I had to redact a part of the
request URL for requests matching certain. In the request log example shown in Figure 1, the word rosemont
in the URL
had to be substituted with the word REDACTED
.