From: Vsevolod Stakhov Date: Wed, 1 Nov 2023 12:24:50 +0000 (+0000) Subject: [Minor] Improve diagnostic by rising log level X-Git-Tag: 3.8.0~94 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=843b08d0b99b079657390d0cf94e94f5085ed5fb;p=rspamd.git [Minor] Improve diagnostic by rising log level --- 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"); } }