/
requestlog.mod
48 lines (34 loc) · 1.52 KB
/
requestlog.mod
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# DO NOT EDIT - See: https://www.eclipse.org/jetty/documentation/current/startup-modules.html
[description]
Logs requests using CustomRequestLog and AsyncRequestLogWriter.
[tags]
requestlog
logging
[depend]
server
[xml]
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"
## Logging Directory with Relative Path (relative to $jetty.base).
# 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).
# jetty.requestlog.filenameDateFormat=yyyy_MM_dd
## The number of days to retain old log files.
# jetty.requestlog.retainDays=90
## Whether to append to existing file.
# jetty.requestlog.append=false
## Timezone of the log file rollover.
# jetty.requestlog.timezone=GMT