You've already forked focalboard
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:
@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user