460671 - Rationalize property names.
Made requestlog use a similar configuration to logging and debugmod modules.
This commit is contained in:
parent
337e0bd8c9
commit
f4a6b4b5eb
|
@ -12,7 +12,7 @@
|
|||
<!-- =========================================================== -->
|
||||
<Set name="RequestLog">
|
||||
<New id="RequestLog" class="org.eclipse.jetty.server.AsyncNCSARequestLog">
|
||||
<Set name="filename"><Property name="jetty.base" default="." /><Property name="jetty.requestlog.filePath,requestlog.filename" default="/logs/yyyy_mm_dd.request.log"/></Set>
|
||||
<Set name="filename"><Property name="jetty.base" default="." /><Property name="jetty.requestlog.filePath,requestlog.filename" default="${jetty.requestlog.dir|logs}/yyyy_mm_dd.request.log"/></Set>
|
||||
<Set name="filenameDateFormat"><Property name="jetty.requestlog.filenameDateFormat,requestlog.filenameDateFormat" default="yyyy_MM_dd"/></Set>
|
||||
<Set name="retainDays"><Property name="jetty.requestlog.retainDays,requestlog.retain" default="90"/></Set>
|
||||
<Set name="append"><Property name="jetty.requestlog.append,requestlog.append" default="false"/></Set>
|
||||
|
|
|
@ -12,8 +12,11 @@ etc/jetty-requestlog.xml
|
|||
logs/
|
||||
|
||||
[ini-template]
|
||||
## File path (relative to $jetty.base)
|
||||
# jetty.requestlog.filePath=/logs/yyyy_mm_dd.request.log
|
||||
## Logging directory (relative to $jetty.base)
|
||||
# jetty.requestlog.dir=logs
|
||||
|
||||
## File path
|
||||
# jetty.requestlog.filePath=${jetty.requestlog.dir}/yyyy_mm_dd.request.log
|
||||
|
||||
# Date format for rollovered files (uses SimpleDateFormat syntax)
|
||||
# jetty.requestlog.filenameDateFormat=yyyy_MM_dd
|
||||
|
|
|
@ -12,8 +12,11 @@ etc/jetty-requestlog.xml
|
|||
logs/
|
||||
|
||||
[ini-template]
|
||||
## File path (relative to $jetty.base)
|
||||
# jetty.requestlog.filePath=/logs/yyyy_mm_dd.request.log
|
||||
## Logging directory (relative to $jetty.base)
|
||||
# jetty.requestlog.dir=logs
|
||||
|
||||
## File path
|
||||
# jetty.requestlog.filePath=${jetty.requestlog.dir}/yyyy_mm_dd.request.log
|
||||
|
||||
# Date format for rollovered files (uses SimpleDateFormat syntax)
|
||||
# jetty.requestlog.filenameDateFormat=yyyy_MM_dd
|
||||
|
|
Loading…
Reference in New Issue