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
Этот коммит содержится в:
коммит произвёл
Saturnino Abril
родитель
e8911b3e08
Коммит
e58aeb90a8
@@ -4,7 +4,6 @@
|
|||||||
package web
|
package web
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
|
||||||
"mime"
|
"mime"
|
||||||
"net/http"
|
"net/http"
|
||||||
"path"
|
"path"
|
||||||
@@ -28,7 +27,7 @@ func (w *Web) InitStatic() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
staticDir, _ := fileutils.FindDir(model.CLIENT_DIR)
|
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())
|
subpath, _ := utils.GetSubpathFromConfig(w.ConfigService.Config())
|
||||||
|
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user