aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-10-25 06:11:25 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-10-25 06:11:25 +0100
commit476ef53f04f59e5bf786226175b3f0ee4c0a905f (patch)
tree131ca63bfdc9bf448d3299d9476f450c306b3a40
parentf293c106b7993e83dfbf13eeabcb89f7fbad1ea8 (diff)
downloadrspamd-476ef53f04f59e5bf786226175b3f0ee4c0a905f.tar.gz
rspamd-476ef53f04f59e5bf786226175b3f0ee4c0a905f.zip
[Minor] Add small additional logging
-rw-r--r--src/libserver/hyperscan_tools.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libserver/hyperscan_tools.cxx b/src/libserver/hyperscan_tools.cxx
index 912589583..e6d643fb2 100644
--- a/src/libserver/hyperscan_tools.cxx
+++ b/src/libserver/hyperscan_tools.cxx
@@ -178,6 +178,8 @@ public:
auto glob_pattern = fmt::format("{}{}*.{}",
dir, G_DIR_SEPARATOR_S, ext);
+ msg_debug_hyperscan_lambda("perform glob for pattern: %s",
+ glob_pattern.c_str());
memset(&globbuf, 0, sizeof(globbuf));
if (glob(glob_pattern.c_str(), 0, nullptr, &globbuf) == 0) {