diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-20 14:10:08 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2018-01-20 14:10:08 +0000 |
commit | e9b802f8c73dff121421128c94076475e0df3bda (patch) | |
tree | f9a274ef11cbc873e06d520c720cb450a1f4766c /src/libserver/cfg_file.h | |
parent | b9f51206b4568a2cf4243bfdc5d192c1804d0b8e (diff) | |
download | rspamd-e9b802f8c73dff121421128c94076475e0df3bda.tar.gz rspamd-e9b802f8c73dff121421128c94076475e0df3bda.zip |
[Project] Convert all C modules to fast debug infrastructure
Diffstat (limited to 'src/libserver/cfg_file.h')
-rw-r--r-- | src/libserver/cfg_file.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libserver/cfg_file.h b/src/libserver/cfg_file.h index 5f04a39a7..cb433b6d5 100644 --- a/src/libserver/cfg_file.h +++ b/src/libserver/cfg_file.h @@ -663,9 +663,11 @@ gboolean rspamd_config_radix_from_ucl (struct rspamd_config *cfg, cfg->cfg_pool->tag.tagname, cfg->checksum, \ G_STRFUNC, \ __VA_ARGS__) -#define msg_debug_config(...) rspamd_default_log_function (G_LOG_LEVEL_DEBUG, \ - cfg->cfg_pool->tag.tagname, cfg->checksum, \ +extern guint rspamd_config_log_id; +#define msg_debug_config(...) rspamd_conditional_debug_fast (NULL, NULL, \ + rspamd_config_log_id, "config", cfg->checksum, \ G_STRFUNC, \ __VA_ARGS__) + #endif /* ifdef CFG_FILE_H */ |