Skip to content

Commit

Permalink
try debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Jun 7, 2021
1 parent bcee9ea commit 99dc665
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions chain/sync_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ func init() {
policy.SetSupportedProofTypes(abi.RegisteredSealProof_StackedDrg2KiBV1)
policy.SetConsensusMinerMinPower(abi.NewStoragePower(2048))
policy.SetMinVerifiedDealSize(abi.NewStoragePower(256))

logging.SetDebugLogging()
logging.SetLogLevel("*", "DEBUG")
}

const source = 0
Expand Down Expand Up @@ -89,7 +92,8 @@ type syncTestUtil struct {
}

func prepSyncTest(t testing.TB, h int) *syncTestUtil {
logging.SetLogLevel("*", "INFO")
//logging.SetLogLevel("*", "INFO")
logging.SetLogLevel("*", "DEBUG")

g, err := gen.NewGenerator()
if err != nil {
Expand Down Expand Up @@ -118,7 +122,8 @@ func prepSyncTest(t testing.TB, h int) *syncTestUtil {
}

func prepSyncTestWithV5Height(t testing.TB, h int, v5height abi.ChainEpoch) *syncTestUtil {
logging.SetLogLevel("*", "INFO")
//logging.SetLogLevel("*", "INFO")
logging.SetLogLevel("*", "DEBUG")

us := stmgr.UpgradeSchedule{{
// prepare for upgrade.
Expand Down

0 comments on commit 99dc665

Please sign in to comment.