Issue #6008 - fix RequestLog usage with filePath.

Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
This commit is contained in:
Lachlan Roberts 2021-03-04 11:19:14 +11:00
parent 1cb0a4978f
commit 08c4ce14ab
2 changed files with 8 additions and 1 deletions

View File

@ -18,7 +18,11 @@
<Arg>
<Call name="resolvePath" class="org.eclipse.jetty.xml.XmlConfiguration">
<Arg><Property name="jetty.base"/></Arg>
<Arg><Property name="jetty.requestlog.dir" default="logs" />/yyyy_mm_dd.request.log</Arg>
<Arg>
<Property name="jetty.requestlog.filePath">
<Default><Property name="jetty.requestlog.dir" default="logs"/>/yyyy_mm_dd.request.log</Default>
</Property>
</Arg>
</Call>
</Arg>

View File

@ -16,6 +16,9 @@ etc/jetty-requestlog.xml
[files]
logs/
[ini]
jetty.requestlog.dir?=logs
[ini-template]
## Format string
# jetty.requestlog.formatString=%a - %u %{dd/MMM/yyyy:HH:mm:ss ZZZ|GMT}t "%r" %s %B "%{Referer}i" "%{User-Agent}i" "%C"