From c4fd66514a21a23541fd71551b6a4207197f73f6 Mon Sep 17 00:00:00 2001 From: famfo Date: Tue, 28 Dec 2021 14:25:10 +0100 Subject: [PATCH] Fixed titlebot printing the whole HTML body in the debug log --- src/bots/title.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/bots/title.rs b/src/bots/title.rs index 1f64306..2fe1a8c 100644 --- a/src/bots/title.rs +++ b/src/bots/title.rs @@ -123,7 +123,6 @@ impl Titlebot { } } let body = response.text().await?; - tracing::debug!("body: {}", body); if let Some(tm) = self.title_regex.find(&body)? { let title_match = &body[tm.start()..tm.end()]; let result = decode_html(title_match).unwrap_or_else(|_| title_match.to_string());