Commit e4ea24df by Torkel Ödegaard

Merge branch 'new-logger' into alerting_definitions

Conflicts:
	pkg/services/sqlstore/migrations/migrations_test.go
parents d7c03359 73b0e6c3
......@@ -6,6 +6,7 @@ import (
"github.com/go-xorm/xorm"
. "github.com/grafana/grafana/pkg/services/sqlstore/migrator"
"github.com/grafana/grafana/pkg/services/sqlstore/sqlutil"
"github.com/inconshreveable/log15"
. "github.com/smartystreets/goconvey/convey"
//"github.com/grafana/grafana/pkg/log"
......@@ -29,7 +30,7 @@ func TestMigrations(t *testing.T) {
sqlutil.CleanDB(x)
mg := NewMigrator(x)
//mg.LogLevel = log.ERROR
mg.Logger.SetHandler(log15.DiscardHandler())
AddMigrations(mg)
err = mg.Start()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment