|
|
|
@ -165,7 +165,6 @@ SSH_EXPOSE_ANONYMOUS = false
|
|
|
|
|
MINIMUM_KEY_SIZE_CHECK = false
|
|
|
|
|
; Disable CDN even in "prod" mode
|
|
|
|
|
OFFLINE_MODE = {{ gitea_server_offline_mode | ternary('true', 'false') }}
|
|
|
|
|
DISABLE_ROUTER_LOG = false
|
|
|
|
|
; Root directory containing templates and static files.
|
|
|
|
|
; default is the path where Gitea is executed
|
|
|
|
|
STATIC_ROOT_PATH =
|
|
|
|
@ -560,15 +559,16 @@ ROOT_PATH =
|
|
|
|
|
; Use comma to separate multiple modes, e.g. "console, file"
|
|
|
|
|
MODE = console
|
|
|
|
|
; Buffer length of the channel, keep it as it is if you don't know what it is.
|
|
|
|
|
BUFFER_LEN = 10000
|
|
|
|
|
;BUFFER_LEN = 10000
|
|
|
|
|
REDIRECT_MACARON_LOG = true
|
|
|
|
|
MACARON = ,
|
|
|
|
|
; Either "Trace", "Debug", "Info", "Warn", "Error", "Critical", default is "Info"
|
|
|
|
|
ROUTER_LOG_LEVEL = Debug
|
|
|
|
|
ROUTER = ,
|
|
|
|
|
ENABLE_ACCESS_LOG = false
|
|
|
|
|
ACCESS_LOG_TEMPLATE = {% raw %}{{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}"{% endraw %}
|
|
|
|
|
ACCESS = ,
|
|
|
|
|
;ROUTER_LOG_LEVEL = Info
|
|
|
|
|
DISABLE_ROUTER_LOG = true
|
|
|
|
|
;ROUTER = ,
|
|
|
|
|
;ENABLE_ACCESS_LOG = false
|
|
|
|
|
;ACCESS_LOG_TEMPLATE = {% raw %}{{.Ctx.RemoteAddr}} - {{.Identity}} {{.Start.Format "[02/Jan/2006:15:04:05 -0700]" }} "{{.Ctx.Req.Method}} {{.Ctx.Req.RequestURI}} {{.Ctx.Req.Proto}}" {{.ResponseWriter.Status}} {{.ResponseWriter.Size}} "{{.Ctx.Req.Referer}}\" \"{{.Ctx.Req.UserAgent}}"{% endraw %}
|
|
|
|
|
;ACCESS = ,
|
|
|
|
|
ENABLE_XORM_LOG = true
|
|
|
|
|
XORM = ,
|
|
|
|
|
|
|
|
|
@ -579,7 +579,7 @@ STACKTRACE_LEVEL = None
|
|
|
|
|
|
|
|
|
|
; For "console" mode only
|
|
|
|
|
[log.console]
|
|
|
|
|
FLAGS = level
|
|
|
|
|
FLAGS = level,medfile
|
|
|
|
|
LEVEL =
|
|
|
|
|
STDERR = false
|
|
|
|
|
COLORIZE = false
|
|
|
|
|