diff options
author | Nathan Ringo <nathan@remexre.com> | 2024-01-19 23:46:35 -0600 |
---|---|---|
committer | Nathan Ringo <nathan@remexre.com> | 2024-01-19 23:46:35 -0600 |
commit | 738f437f59bf2408dcdc6514ffa2d7a2ee5a61c5 (patch) | |
tree | 7c003e69930ddc790c44c88eb7b1b015851e5a66 /src | |
parent | 7746a223c23fe6ab3651c2094e17578e80426955 (diff) |
Ignore some of the spammier modules.
Diffstat (limited to 'src')
-rw-r--r-- | src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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") |