Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configure logging policy for Jetty internals logging and request/access logging. Sample logback configuration files are provided for convenience and are in the resources directory.

If you have a need (maybe temporarily) to include the TLS cipher suite used by a client (e.g., to determine when it's safe to disable older versions), you can adjust logback-access.xml to include that in its output. Instead of a pattern of "combined", you can include the actual combined log format pattern and add the cipher string on the end:

Code Block
<pattern>%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" %reqAttribute{javax.servlet.request.cipher_suite}</pattern>

Disable Directory Indexing

...