From 391c73774dec1b1144c17689723d1310345cae36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Magiera?= Date: Tue, 29 Oct 2019 20:51:44 +0100 Subject: [PATCH] Set swarm log level to WARN --- cmd/lotus-storage-miner/main.go | 2 ++ cmd/lotus/main.go | 2 ++ 2 files changed, 4 insertions(+) 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, }