From: Vsevolod Stakhov Date: Fri, 31 Jan 2020 11:55:35 +0000 (+0000) Subject: [Minor] Further logging improvements X-Git-Tag: 2.3~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bb3254f41c4aedfed9788617ca92b81116885ff8;p=rspamd.git [Minor] Further logging improvements --- 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);