From 5bbcb60838217ce2deaaeba259a1e6a56edf88bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Kr=C3=BCger?= Date: Mon, 2 Sep 2024 14:45:40 +0200 Subject: [PATCH] fix(iroh-blobs): Turn `println!` into `tracing::debug!` (#2686) ## Description @divagant-martian noticed there's a `println!` in iroh-blobs. I turned this into a `tracing::debug!` instead. ## Breaking Changes None ## Notes & open questions ## Change checklist - [x] Self-review. - ~~[ ] Documentation updates following the [style guide](https://rust-lang.github.io/rfcs/1574-more-api-documentation-conventions.html#appendix-a-full-conventions-text), if relevant.~~ - ~~[ ] Tests if relevant.~~ - [x] All breaking changes documented. --- iroh-blobs/src/store/fs.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iroh-blobs/src/store/fs.rs b/iroh-blobs/src/store/fs.rs index 94bc137288..7e1764afeb 100644 --- a/iroh-blobs/src/store/fs.rs +++ b/iroh-blobs/src/store/fs.rs @@ -1814,11 +1814,11 @@ impl ActorState { data.size(), &hash, )?; - println!("creating complete entry for {}", hash.to_hex()); + tracing::debug!("creating complete entry for {}", hash.to_hex()); BaoFileHandle::new_complete(self.create_options.clone(), hash, data, outboard) } EntryState::Partial { .. } => { - println!("creating partial entry for {}", hash.to_hex()); + tracing::debug!("creating partial entry for {}", hash.to_hex()); BaoFileHandle::incomplete_file(self.create_options.clone(), hash)? } }