Skip to content

Commit

Permalink
plain log for pg pkg in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jchappelow committed Dec 6, 2024
1 parent c9296b1 commit c48257f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion node/consensus/engine_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ func verifyStatus(_ *testing.T, val *ConsensusEngine, status Status, height int6
}

func TestMain(m *testing.M) {
pg.UseLogger(log.New(log.WithName("DBS")))
pg.UseLogger(log.New(log.WithName("DBS"), log.WithFormat(log.FormatUnstructured)))
m.Run()
}

Expand Down
2 changes: 1 addition & 1 deletion node/node_live_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ var defaultGenesisParams = &consensus.GenesisParams{
}

func TestMain(m *testing.M) {
pg.UseLogger(log.New(log.WithName("DBS")))
pg.UseLogger(log.New(log.WithName("DBS"), log.WithFormat(log.FormatUnstructured)))
m.Run()
}

Expand Down

0 comments on commit c48257f

Please sign in to comment.