Update the sub-logger MODE settings [#10]
These were previously [log] settings, named after the sub-logger, like ROUTER and ACCESS, but have now been replaced with MODE in sub-logger groups. ROUTER -> logger.router.MODE ACCESS -> logger.access.MODE Fixes #10
This commit is contained in:
parent
666e850975
commit
a5eda416a2
1 changed files with 6 additions and 9 deletions
15
deb/app.ini
15
deb/app.ini
|
@ -560,11 +560,9 @@ LEVEL = Info
|
|||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Router Logger
|
||||
;;
|
||||
;; Switch off the router log
|
||||
;DISABLE_ROUTER_LOG=false
|
||||
;;
|
||||
;; Set the log "modes" for the router log (if file is set the log file will default to router.log)
|
||||
ROUTER = console
|
||||
;; Set the log "mode" for the router log (if file is set the log file will default to router.log)
|
||||
;; Default is ',', which means that the main logger MODE is used
|
||||
;logger.router.MODE = file
|
||||
;;
|
||||
;; The router will log different things at different levels.
|
||||
;;
|
||||
|
@ -573,7 +571,7 @@ ROUTER = console
|
|||
;; * slow routers will be logged at WARN
|
||||
;; * failed routers will be logged at WARN
|
||||
;;
|
||||
;; The routing level will default to that of the system but individual router level can be set in
|
||||
;; The least severe routing level will default to that of the system but individual router level can be set in
|
||||
;; [log.<mode>.router] LEVEL
|
||||
;;
|
||||
|
||||
|
@ -581,10 +579,9 @@ ROUTER = console
|
|||
;;
|
||||
;; Access Logger (Creates log in NCSA common log format)
|
||||
;;
|
||||
;ENABLE_ACCESS_LOG = false
|
||||
;;
|
||||
;; Set the log "modes" for the access log (if file is set the log file will default to access.log)
|
||||
;ACCESS = file
|
||||
;; Default is empty value, which means that the access log is disabled
|
||||
;logger.access.MODE = file
|
||||
;;
|
||||
;; Sets the template used to create the access log.
|
||||
;ACCESS_LOG_TEMPLATE = {{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.URL.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}"
|
||||
|
|
Loading…
Add table
Reference in a new issue