From e58aeb90a88d7efe3e71ebe66fe651397a6c4cd1 Mon Sep 17 00:00:00 2001 From: Nikhil Ranjan Date: Thu, 12 Sep 2019 18:22:48 +0200 Subject: [PATCH] MM-18255 Converting to structured logging the file web/static.go (#12093) * Converting to structured logging the file web/static.go * change staticDir to clientDir in logs --- web/static.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/static.go b/web/static.go index 847f962d76..57c1126a4f 100644 --- a/web/static.go +++ b/web/static.go @@ -4,7 +4,6 @@ package web import ( - "fmt" "mime" "net/http" "path" @@ -28,7 +27,7 @@ func (w *Web) InitStatic() { } staticDir, _ := fileutils.FindDir(model.CLIENT_DIR) - mlog.Debug(fmt.Sprintf("Using client directory at %v", staticDir)) + mlog.Debug("Using client directory", mlog.String("clientDir", staticDir)) subpath, _ := utils.GetSubpathFromConfig(w.ConfigService.Config())