commit bb3254f: [Minor] Further logging improvements
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Jan 31 11:56:07 UTC 2020
Author: Vsevolod Stakhov
Date: 2020-01-31 11:55:35 +0000
URL: https://github.com/rspamd/rspamd/commit/bb3254f41c4aedfed9788617ca92b81116885ff8 (HEAD -> master)
[Minor] Further logging improvements
---
src/libserver/re_cache.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/libserver/re_cache.c b/src/libserver/re_cache.c
index 4a98ee154..9279c5121 100644
--- a/src/libserver/re_cache.c
+++ b/src/libserver/re_cache.c
@@ -1077,9 +1077,9 @@ rspamd_re_cache_exec_re (struct rspamd_task *task,
if (rh) {
ret = rspamd_re_cache_process_headers_list (task, rt, re,
re_class, rh, is_strong);
- msg_debug_re_task ("checked header regexp: %s (%s) -> %d",
- rspamd_regexp_get_pattern (re),
+ msg_debug_re_task ("checked header(%s) regexp: %s -> %d",
(const char *)re_class->type_data,
+ rspamd_regexp_get_pattern (re),
ret);
}
break;
@@ -1101,9 +1101,9 @@ rspamd_re_cache_exec_re (struct rspamd_task *task,
ret += rspamd_re_cache_process_headers_list (task, rt, re,
re_class, rh, is_strong);
}
- msg_debug_re_task ("checked mime header regexp: %s (%s) -> %d",
- rspamd_regexp_get_pattern (re),
+ msg_debug_re_task ("checked mime header(%s) regexp: %s -> %d",
(const char *)re_class->type_data,
+ rspamd_regexp_get_pattern (re),
ret);
}
break;
@@ -1353,7 +1353,7 @@ rspamd_re_cache_exec_re (struct rspamd_task *task,
ret = rspamd_re_cache_process_regexp_data (rt, re,
task, scvec, lenvec, cnt, raw);
- msg_debug_re_task ("checked selector (%s) regexp: %s -> %d",
+ msg_debug_re_task ("checked selector(%s) regexp: %s -> %d",
re_class->type_data,
rspamd_regexp_get_pattern (re), ret);
More information about the Commits
mailing list