Skip to content

Commit

Permalink
chore(logs): cleanup logging (#3945)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wondertan committed Nov 18, 2024
1 parent d80f68a commit 16d19a0
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions logs/logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import (

func SetAllLoggers(level logging.LogLevel) {
logging.SetAllLoggers(level)
_ = logging.SetLogLevel("engine", "FATAL")
_ = logging.SetLogLevel("blockservice", "WARN")
_ = logging.SetLogLevel("bs:sess", "WARN")
_ = logging.SetLogLevel("addrutil", "INFO")
_ = logging.SetLogLevel("dht", "ERROR")
_ = logging.SetLogLevel("swarm2", "WARN")
Expand All @@ -19,7 +16,7 @@ func SetAllLoggers(level logging.LogLevel) {
_ = logging.SetLogLevel("bitswap/client/provqrymgr", "WARN")
_ = logging.SetLogLevel("bitswap/client/getter", "WARN")
_ = logging.SetLogLevel("bitswap/client/sesspeermgr", "WARN")
_ = logging.SetLogLevel("bitswap/network", "ERROR")
_ = logging.SetLogLevel("bitswap/network", "WARN")
_ = logging.SetLogLevel("bitswap/session", "WARN")
_ = logging.SetLogLevel("bitswap/server", "WARN")
_ = logging.SetLogLevel("bitswap/server/decision", "INFO")
Expand All @@ -32,8 +29,6 @@ func SetAllLoggers(level logging.LogLevel) {
_ = logging.SetLogLevel("net/identify", "ERROR")
_ = logging.SetLogLevel("shrex/nd", "WARN")
_ = logging.SetLogLevel("shrex/eds", "WARN")
_ = logging.SetLogLevel("dagstore", "WARN")
_ = logging.SetLogLevel("dagstore/upgrader", "WARN")
_ = logging.SetLogLevel("fx", "FATAL")
}

Expand Down

0 comments on commit 16d19a0

Please sign in to comment.