aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorNathan Ringo <nathan@remexre.com>2024-01-19 23:46:35 -0600
committerNathan Ringo <nathan@remexre.com>2024-01-19 23:46:35 -0600
commit738f437f59bf2408dcdc6514ffa2d7a2ee5a61c5 (patch)
tree7c003e69930ddc790c44c88eb7b1b015851e5a66 /src/lib.rs
parent7746a223c23fe6ab3651c2094e17578e80426955 (diff)
Ignore some of the spammier modules.
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 748eee4..1630af9 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -20,6 +20,8 @@ pub fn configure_logger(quiet: u8, verbose: u8) -> Result<()> {
SimpleLogger::new()
.with_level(level)
+ .with_module_level("serenity::gateway::shard", LevelFilter::Warn)
+ .with_module_level("serenity::http::ratelimiting", LevelFilter::Warn)
.with_module_level("tracing::span", LevelFilter::Warn)
.init()
.context("failed to configure logger")