summaryrefslogtreecommitdiffstats
path: root/modules/context/access_log.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/access_log.go')
-rw-r--r--modules/context/access_log.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/context/access_log.go b/modules/context/access_log.go
index 05c0f86218..84663ee8d3 100644
--- a/modules/context/access_log.go
+++ b/modules/context/access_log.go
@@ -27,7 +27,7 @@ var signedUserNameStringPointerKey interface{} = "signedUserNameStringPointerKey
// AccessLogger returns a middleware to log access logger
func AccessLogger() func(http.Handler) http.Handler {
logger := log.GetLogger("access")
- logTemplate, _ := template.New("log").Parse(setting.AccessLogTemplate)
+ logTemplate, _ := template.New("log").Parse(setting.Log.AccessLogTemplate)
return func(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
start := time.Now()