1
0
mirror of https://github.com/mattermost/focalboard.git synced 2025-07-12 23:50:27 +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

@ -10,8 +10,9 @@ import (
"github.com/google/uuid"
"github.com/mattermost/focalboard/server/server"
"github.com/mattermost/focalboard/server/services/config"
"github.com/mattermost/focalboard/server/services/mlog"
"github.com/webview/webview"
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
var sessionToken string = "su-" + uuid.New().String()
@ -31,7 +32,7 @@ func getFreePort() (int, error) {
}
func runServer(port int) (*server.Server, error) {
logger := mlog.NewLogger()
logger, _ := mlog.NewLogger()
config := &config.Configuration{
ServerRoot: fmt.Sprintf("http://localhost:%d", port),