Merge pull request #495 from filecoin-project/misc/swarm-log-level

Set swarm log level to WARN
This commit is contained in:
Łukasz Magiera 2019-10-29 22:40:41 +01:00 committed by GitHub
commit d080dbd1ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View File

@ -18,6 +18,8 @@ const FlagStorageRepo = "storagerepo"
func main() { func main() {
logging.SetLogLevel("*", "INFO") logging.SetLogLevel("*", "INFO")
logging.SetLogLevel("swarm", "WARN")
local := []*cli.Command{ local := []*cli.Command{
runCmd, runCmd,
initCmd, initCmd,

View File

@ -16,6 +16,8 @@ import (
func main() { func main() {
logging.SetLogLevel("*", "INFO") logging.SetLogLevel("*", "INFO")
logging.SetLogLevel("dht", "ERROR") logging.SetLogLevel("dht", "ERROR")
logging.SetLogLevel("swarm", "WARN")
local := []*cli.Command{ local := []*cli.Command{
DaemonCmd, DaemonCmd,
} }