Add JSON as access logging format
This commit is contained in:
parent
39388a2199
commit
a9216e24f5
7 changed files with 268 additions and 59 deletions
|
@ -36,6 +36,7 @@
|
|||
# Access logs file
|
||||
#
|
||||
# Optional
|
||||
# Deprecated - see [accessLog] lower down
|
||||
#
|
||||
# accessLogsFile = "log/access.log"
|
||||
|
||||
|
@ -219,6 +220,30 @@
|
|||
# main = "local4.com"
|
||||
|
||||
|
||||
# Set access log options
|
||||
#
|
||||
# Optional
|
||||
#
|
||||
# [accessLog]
|
||||
|
||||
# Sets the file path for the access log. If none is given (the default)
|
||||
# no access logs are produced. Intermediate directories are created if
|
||||
# necessary.
|
||||
#
|
||||
# Optional
|
||||
# Default: ""
|
||||
#
|
||||
# filePath = "/path/to/log/log.txt"
|
||||
#
|
||||
|
||||
# Format is either "json" or "common".
|
||||
#
|
||||
# Optional
|
||||
# Default: "common"
|
||||
#
|
||||
# format = "common"
|
||||
#
|
||||
|
||||
# Entrypoints definition
|
||||
#
|
||||
# Optional
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue