commit 2caca45: [Minor] Reduce C++ stuff demangling in logging
Vsevolod Stakhov
vsevolod at highsecure.ru
Fri Jul 23 19:07:05 UTC 2021
Author: Vsevolod Stakhov
Date: 2021-07-23 17:36:31 +0100
URL: https://github.com/rspamd/rspamd/commit/2caca45cf8ae1976b54d6665895ed76a42d01661
[Minor] Reduce C++ stuff demangling in logging
---
src/libserver/css/css.hxx | 4 ++--
src/libserver/html/html.cxx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/libserver/css/css.hxx b/src/libserver/css/css.hxx
index 21114cc86..2d1ece757 100644
--- a/src/libserver/css/css.hxx
+++ b/src/libserver/css/css.hxx
@@ -36,11 +36,11 @@ extern unsigned int rspamd_css_log_id;
#define msg_debug_css(...) rspamd_conditional_debug_fast (NULL, NULL, \
rspamd_css_log_id, "css", pool->tag.uid, \
- G_STRFUNC, \
+ __FUNCTION__, \
__VA_ARGS__)
#define msg_err_css(...) rspamd_default_log_function (G_LOG_LEVEL_CRITICAL, \
"css", pool->tag.uid, \
- G_STRFUNC, \
+ __FUNCTION__, \
__VA_ARGS__)
class css_style_sheet {
diff --git a/src/libserver/html/html.cxx b/src/libserver/html/html.cxx
index 0cf950531..30607a8da 100644
--- a/src/libserver/html/html.cxx
+++ b/src/libserver/html/html.cxx
@@ -66,7 +66,7 @@ auto html_components_map = frozen::make_unordered_map<frozen::string, html_compo
#define msg_debug_html(...) rspamd_conditional_debug_fast (NULL, NULL, \
rspamd_html_log_id, "html", pool->tag.uid, \
- G_STRFUNC, \
+ __FUNCTION__, \
__VA_ARGS__)
INIT_LOG_MODULE(html)
More information about the Commits
mailing list