mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
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:
committed by
Saturnino Abril
parent
e8911b3e08
commit
e58aeb90a8
@@ -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())
|
||||
|
||||
|
||||
Reference in New Issue
Block a user