Merge pull request #6033 from eclipse/jetty-10.0.x-6008-RequestLogFix
Issue #6008 - fix RequestLog usage with filePath.
This commit is contained in:
commit
c664d673e0
|
@ -18,7 +18,13 @@
|
||||||
<Arg>
|
<Arg>
|
||||||
<Call name="resolvePath" class="org.eclipse.jetty.xml.XmlConfiguration">
|
<Call name="resolvePath" class="org.eclipse.jetty.xml.XmlConfiguration">
|
||||||
<Arg><Property name="jetty.base"/></Arg>
|
<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>
|
</Call>
|
||||||
</Arg>
|
</Arg>
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,9 @@ etc/jetty-requestlog.xml
|
||||||
[files]
|
[files]
|
||||||
logs/
|
logs/
|
||||||
|
|
||||||
|
[ini]
|
||||||
|
jetty.requestlog.dir?=logs
|
||||||
|
|
||||||
[ini-template]
|
[ini-template]
|
||||||
## Format string
|
## 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"
|
# jetty.requestlog.formatString=%a - %u %{dd/MMM/yyyy:HH:mm:ss ZZZ|GMT}t "%r" %s %B "%{Referer}i" "%{User-Agent}i" "%C"
|
||||||
|
|
Loading…
Reference in New Issue