aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/monitored.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libserver/monitored.c')
-rw-r--r--src/libserver/monitored.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libserver/monitored.c b/src/libserver/monitored.c
index 96e161e1a..bd350e16d 100644
--- a/src/libserver/monitored.c
+++ b/src/libserver/monitored.c
@@ -78,11 +78,13 @@ struct rspamd_monitored {
"monitored", m->tag, \
G_STRFUNC, \
__VA_ARGS__)
-#define msg_debug_mon(...) rspamd_default_log_function (G_LOG_LEVEL_DEBUG, \
- "monitored", m->tag, \
+#define msg_debug_mon(...) rspamd_conditional_debug_fast (NULL, NULL, \
+ rspamd_monitored_log_id, "monitored", m->tag, \
G_STRFUNC, \
__VA_ARGS__)
+INIT_LOG_MODULE(monitored)
+
static inline void
rspamd_monitored_propagate_error (struct rspamd_monitored *m,
const gchar *error)