Skip to content

Commit

Permalink
Temporary disable bilibili token logs
Browse files Browse the repository at this point in the history
  • Loading branch information
SpriteOvO committed Mar 5, 2025
1 parent e103d90 commit c0c560b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/reporter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ impl Sink for TelegramNotifySink {
let mut ctx = FormatterContext::new();
self.formatter.format(record, &mut buf, &mut ctx)?;

if buf.contains("bilibili") && buf.contains("token") {
return Ok(());
}

let notification = Notification {
kind: NotificationKind::Log(buf),
source: &self.source,
Expand Down

0 comments on commit c0c560b

Please sign in to comment.