diff options
author | Joel Rosdahl <joel@rosdahl.net> | 2022-11-08 21:31:32 +0100 |
---|---|---|
committer | Joel Rosdahl <joel@rosdahl.net> | 2022-11-10 13:20:25 +0100 |
commit | 22ff4a0e173309c16c282c8d2c80ae950864bf8d (patch) | |
tree | dbe4f86b98b8769612585036a4535bf73160091f | |
parent | 563cc8eb76285ba59448032906aa6d57d2c58d6a (diff) | |
download | ccache-22ff4a0e173309c16c282c8d2c80ae950864bf8d.tar.gz |
chore: Improve inode cache logging
-rw-r--r-- | src/InodeCache.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/InodeCache.cpp b/src/InodeCache.cpp index 7c98f47f..6ff430d3 100644 --- a/src/InodeCache.cpp +++ b/src/InodeCache.cpp @@ -474,8 +474,9 @@ InodeCache::put(const std::string& path, return false; } - LOG("Inode cache insert: {}", path); - + if (m_config.debug()) { + LOG("Inode cache insert: {}", path); + } return true; } |