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
This commit is contained in:
Nikhil Ranjan
2019-09-12 18:22:48 +02:00
committed by Saturnino Abril
parent e8911b3e08
commit e58aeb90a8

View File

@@ -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())