diff options
Diffstat (limited to 'ayafs-core/src/block_device')
-rw-r--r-- | ayafs-core/src/block_device/disk.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ayafs-core/src/block_device/disk.rs b/ayafs-core/src/block_device/disk.rs index 9e9b6bc..cc9552c 100644 --- a/ayafs-core/src/block_device/disk.rs +++ b/ayafs-core/src/block_device/disk.rs @@ -3,7 +3,7 @@ use std::cell::RefCell; use std::fs::File; use std::io::{Read, Seek, SeekFrom, Write}; use std::path::PathBuf; -use log::debug; +use log::trace; pub struct Disk { #[allow(unused)] @@ -35,7 +35,7 @@ impl BlockDevice for Disk { device .read_exact(buffer) .expect("Failed to read 4096 bytes!"); - debug!("disk::read block {}", block_id); + trace!("disk::read block {}", block_id); } fn write(&self, block_id: usize, buffer: &[u8]) { @@ -47,6 +47,6 @@ impl BlockDevice for Disk { device .write_all(buffer) .expect("Unable to write 4096 bytes!"); - debug!("disk::write block {}", block_id); + trace!("disk::write block {}", block_id); } } |