commit 843b08d: [Minor] Improve diagnostic by rising log level

Vsevolod Stakhov vsevolod at rspamd.com
Wed Nov 1 12:28:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-11-01 12:24:50 +0000
URL: https://github.com/rspamd/rspamd/commit/843b08d0b99b079657390d0cf94e94f5085ed5fb (HEAD -> master)

[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");
 		}
 	}
 


More information about the Commits mailing list