Skip to content

Commit

Permalink
Remove trace log that logs touching a file
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Jan 12, 2024
1 parent adad86a commit c13ee83
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions collector/src/utils/fs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ pub fn rename<P: AsRef<Path>, Q: AsRef<Path>>(from: P, to: Q) -> anyhow::Result<

/// Touch a file, resetting its modification time.
pub fn touch(path: &Path) -> anyhow::Result<()> {
log::trace!("touching file {:?}", path);

filetime::set_file_mtime(path, filetime::FileTime::now())
.with_context(|| format!("touching file {:?}", path))?;

Expand Down

0 comments on commit c13ee83

Please sign in to comment.