diff --git a/quickpeep_raker/src/raking/page_extraction.rs b/quickpeep_raker/src/raking/page_extraction.rs index 51175b3..fc0e548 100644 --- a/quickpeep_raker/src/raking/page_extraction.rs +++ b/quickpeep_raker/src/raking/page_extraction.rs @@ -7,7 +7,7 @@ use anyhow::{bail, Context}; use html5ever::tendril::TendrilSink; use itertools::Itertools; use kuchiki::NodeRef; -use log::{debug, warn}; +use log::{debug, error, warn}; use quickpeep_densedoc::{DenseDocument, DenseHead, DenseTree}; use quickpeep_structs::rake_entries::AnalysisAntifeatures; use quickpeep_utils::lazy::Lazy; @@ -171,11 +171,11 @@ impl PageExtractionServiceInternal { true, ) { Ok(cosmetic_filters_tripped) => { - eprintln!("?cosmetic filters tripped: {}", cosmetic_filters_tripped); + debug!("?cosmetic filters tripped: {}", cosmetic_filters_tripped); antifeature_flags |= *engine_antifeature_flag; } Err(err) => { - eprintln!("Cosmetic Filter Err {:?}", err); + error!("Cosmetic Filter Err {:?}", err); } }; }