Skip to content

Commit

Permalink
Issue #6008 - Update to requestlog.mod with default ini params and ex…
Browse files Browse the repository at this point in the history
…tra comments.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed Feb 25, 2021
1 parent 0533d3b commit 57f9865
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jetty-server/src/main/config/modules/requestlog.mod
Expand Up @@ -16,6 +16,10 @@ etc/jetty-requestlog.xml
[files]
logs/

[ini]
jetty.requestlog.dir?=logs
jetty.requestlog.filePath?=${jetty.requestlog.dir}/yyyy_mm_dd.request.log

[ini-template]
## The CustomRequestLog format string (extended NCSA format by default).
# jetty.requestlog.formatString=%a - %u %{dd/MMM/yyyy:HH:mm:ss ZZZ|GMT}t "%r" %s %B "%{Referer}i" "%{User-Agent}i" "%C"
Expand All @@ -24,9 +28,11 @@ logs/
# jetty.requestlog.dir=logs

## Relative File Path (relative to $jetty.base).
## The string 'yyyy_mm_dd' in the filename will be replaced with the date format specified with ${jetty.requestlog.filenameDateFormat}.
# jetty.requestlog.filePath=${jetty.requestlog.dir}/yyyy_mm_dd.request.log

## Absolute File Path (will override the relative file path).
## The string 'yyyy_mm_dd' in the filename will be replaced with the date format specified with ${jetty.requestlog.filenameDateFormat}.
# jetty.requestlog.absoluteFilePath=${jetty.base}/${jetty.requestlog.filePath}

## Date format for rollovered files (uses SimpleDateFormat syntax).
Expand Down

0 comments on commit 57f9865

Please sign in to comment.