1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-15 23:54:29 +02:00

Replace mlog with server v6 mlog (#1088)

* replace mlog with server v6 mlog
* remove FB mlog from plugin
This commit is contained in:
Doug Lauder
2021-08-25 17:08:01 -03:00
committed by GitHub
parent 791c600151
commit b58497e2ea
42 changed files with 136 additions and 524 deletions

View File

@ -8,7 +8,8 @@ import (
"github.com/mattermost/focalboard/server/client"
"github.com/mattermost/focalboard/server/server"
"github.com/mattermost/focalboard/server/services/config"
"github.com/mattermost/focalboard/server/services/mlog"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
type TestHelper struct {
@ -65,7 +66,7 @@ func getTestConfig() *config.Configuration {
}
func newTestServer(singleUserToken string) *server.Server {
logger := mlog.NewLogger()
logger, _ := mlog.NewLogger()
if err := logger.Configure("", getTestConfig().LoggingCfgJSON); err != nil {
panic(err)
}