aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2023-11-01 12:24:50 +0000
committerVsevolod Stakhov <vsevolod@rspamd.com>2023-11-01 12:24:50 +0000
commit843b08d0b99b079657390d0cf94e94f5085ed5fb (patch)
treeab44d793ef4e042f06a10c32bbf83b9751151d2d
parentca58b3a0c183f899b7391d23d9b0a9d450c48597 (diff)
downloadrspamd-843b08d0b99b079657390d0cf94e94f5085ed5fb.tar.gz
rspamd-843b08d0b99b079657390d0cf94e94f5085ed5fb.zip
[Minor] Improve diagnostic by rising log level
-rw-r--r--src/libserver/hyperscan_tools.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libserver/hyperscan_tools.cxx b/src/libserver/hyperscan_tools.cxx
index 3fce3ce26..83f5360ae 100644
--- a/src/libserver/hyperscan_tools.cxx
+++ b/src/libserver/hyperscan_tools.cxx
@@ -249,7 +249,7 @@ public:
};
for (const auto &dir: cache_dirs) {
- msg_debug_hyperscan("cleaning up directory %s", dir.c_str());
+ msg_info_hyperscan("cleaning up directory %s", dir.c_str());
cleanup_dir(dir);
}
@@ -258,10 +258,10 @@ public:
known_cached_files.clear();
}
else if (rspamd_current_worker == nullptr && env_cleanup_disable != nullptr) {
- msg_debug_hyperscan("disable hyperscan cleanup: env variable RSPAMD_NO_CLEANUP is set");
+ msg_info_hyperscan("disable hyperscan cleanup: env variable RSPAMD_NO_CLEANUP is set");
}
else if (!loaded) {
- msg_debug_hyperscan("disable hyperscan cleanup: not loaded");
+ msg_info_hyperscan("disable hyperscan cleanup: not loaded");
}
}