aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil/rrd.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-20 14:10:08 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2018-01-20 14:10:08 +0000
commite9b802f8c73dff121421128c94076475e0df3bda (patch)
treef9a274ef11cbc873e06d520c720cb450a1f4766c /src/libutil/rrd.c
parentb9f51206b4568a2cf4243bfdc5d192c1804d0b8e (diff)
downloadrspamd-e9b802f8c73dff121421128c94076475e0df3bda.tar.gz
rspamd-e9b802f8c73dff121421128c94076475e0df3bda.zip
[Project] Convert all C modules to fast debug infrastructure
Diffstat (limited to 'src/libutil/rrd.c')
-rw-r--r--src/libutil/rrd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libutil/rrd.c b/src/libutil/rrd.c
index 3e67bb2a3..95d78c7f5 100644
--- a/src/libutil/rrd.c
+++ b/src/libutil/rrd.c
@@ -37,11 +37,12 @@
"rrd", file->id, \
G_STRFUNC, \
__VA_ARGS__)
-#define msg_debug_rrd(...) rspamd_default_log_function (G_LOG_LEVEL_DEBUG, \
- "rrd", file->id, \
+#define msg_debug_rrd(...) rspamd_conditional_debug_fast (NULL, NULL, \
+ rspamd_rrd_log_id, "rrd", file->id, \
G_STRFUNC, \
__VA_ARGS__)
+INIT_LOG_MODULE(rrd)
static GQuark
rrd_error_quark (void)