From 843b08d0b99b079657390d0cf94e94f5085ed5fb Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Wed, 1 Nov 2023 12:24:50 +0000 Subject: [PATCH] [Minor] Improve diagnostic by rising log level --- src/libserver/hyperscan_tools.cxx | 6 +++--- 1 file 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"); } } -- 2.39.5