src: Unclutter logs by switching some info messages to debug

This commit is contained in:
2024-11-25 18:04:09 +00:00
parent e951fcdf83
commit 24d824f759
3 changed files with 8 additions and 8 deletions

View File

@ -56,7 +56,7 @@ pub async fn fetch_and_parse_feed(uri: &str) -> Result<Feed, Box<dyn Error>> {
let http_client = reqwest::Client::builder().default_headers(headers).build()?;
let response = http_client.get(uri).send().await?.text().await?;
info!("Got response, parsing feed from {}", uri);
debug!("Got response, parsing feed from {}", uri);
let feed = parser::parse(response.as_bytes())?;
let feed_title = match feed.title.clone() {
@ -64,7 +64,7 @@ pub async fn fetch_and_parse_feed(uri: &str) -> Result<Feed, Box<dyn Error>> {
None => String::from("Untitled")
};
info!("Got feed with title \"{}\"", feed_title);
debug!("Got feed with title \"{}\"", feed_title);
Ok(Feed {
uri: String::from(uri),