commit d34ac17: [Minor] Slightly improve debug logging
Vsevolod Stakhov
vsevolod at highsecure.ru
Wed Sep 4 20:49:03 UTC 2019
Author: Vsevolod Stakhov
Date: 2019-09-04 14:59:55 +0100
URL: https://github.com/rspamd/rspamd/commit/d34ac172d7a1bc82fbb4ba0d920005dc062194a5
[Minor] Slightly improve debug logging
---
src/libserver/html.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/libserver/html.c b/src/libserver/html.c
index 014beff18..73bf05440 100644
--- a/src/libserver/html.c
+++ b/src/libserver/html.c
@@ -3080,7 +3080,10 @@ rspamd_html_process_part_full (rspamd_mempool_t *pool, struct html_content *hc,
bl->font_color.d.comp.alpha < 10) {
bl->visible = FALSE;
- msg_debug_html ("tag is not visible");
+ msg_debug_html ("tag is not visible: font size: "
+ "%d, alpha: %d",
+ (int)bl->font_size,
+ (int)bl->font_color.d.comp.alpha);
}
if (!bl->visible) {
More information about the Commits
mailing list