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