Merge branch 'new-logger' into alerting_definitions

Conflicts:
	pkg/services/sqlstore/migrations/migrations_test.go
This commit is contained in:
Torkel Ödegaard 2016-06-07 15:51:22 +02:00
commit e4ea24dfc4

View File

@ -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()