src: Unclutter logs by switching some info messages to debug
This commit is contained in:
@ -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),
|
||||
|
Reference in New Issue
Block a user