From 57f9865b84335ec40689eb9a3bc4a4d3e832e1bb Mon Sep 17 00:00:00 2001 From: Lachlan Roberts Date: Fri, 26 Feb 2021 00:02:29 +1100 Subject: [PATCH] Issue #6008 - Update to requestlog.mod with default ini params and extra comments. Signed-off-by: Lachlan Roberts --- jetty-server/src/main/config/modules/requestlog.mod | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/jetty-server/src/main/config/modules/requestlog.mod b/jetty-server/src/main/config/modules/requestlog.mod index 59ece2270cba..955abea371ce 100644 --- a/jetty-server/src/main/config/modules/requestlog.mod +++ b/jetty-server/src/main/config/modules/requestlog.mod @@ -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" @@ -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).