]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Improve diagnostic by rising log level
authorVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 1 Nov 2023 12:24:50 +0000 (12:24 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 1 Nov 2023 12:24:50 +0000 (12:24 +0000)
src/libserver/hyperscan_tools.cxx

index 3fce3ce26cfe9676b12817f407f7059402fecb71..83f5360ae9ac188fc31c786f2615df8f61574f68 100644 (file)
@@ -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");
                }
        }