Skip to content

Commit

Permalink
fix(logs): tune down logging
Browse files Browse the repository at this point in the history
  • Loading branch information
louib committed Aug 24, 2023
1 parent c78887e commit 21a1fd6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/cyclone_dx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ fn get_external_references(package_node: &crate::nix::PackageNode) -> Vec<Extern
None => continue,
};
if let Some(git_url) = crate::utils::get_git_url_from_generic_url(&source_url) {
log::warn!("Found git url {} for source URL {}", &git_url, &source_url);
log::debug!("Found git url {} for source URL {}", &git_url, &source_url);
let mut external_reference_builder = ExternalReferenceBuilder::default();
external_reference_builder.type_("vcs");
external_reference_builder.url(git_url);
Expand Down
1 change: 0 additions & 1 deletion src/nix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,6 @@ pub fn get_package_graph(
Some(p) => p,
None => continue,
};
println!("{} is a main package", derivation_path);
let mut current_node = PackageNode {
package: package.clone(),
main_derivation: derivation.clone(),
Expand Down

0 comments on commit 21a1fd6

Please sign in to comment.