diff --git a/cmd/lotus-storage-miner/main.go b/cmd/lotus-storage-miner/main.go index c9a904695..f8bf2aac1 100644 --- a/cmd/lotus-storage-miner/main.go +++ b/cmd/lotus-storage-miner/main.go @@ -18,6 +18,8 @@ const FlagStorageRepo = "storagerepo" func main() { logging.SetLogLevel("*", "INFO") + logging.SetLogLevel("swarm", "WARN") + local := []*cli.Command{ runCmd, initCmd, diff --git a/cmd/lotus/main.go b/cmd/lotus/main.go index e7cffe186..38fc478ac 100644 --- a/cmd/lotus/main.go +++ b/cmd/lotus/main.go @@ -16,6 +16,8 @@ import ( func main() { logging.SetLogLevel("*", "INFO") logging.SetLogLevel("dht", "ERROR") + logging.SetLogLevel("swarm", "WARN") + local := []*cli.Command{ DaemonCmd, }