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/lua/lua_xmlrpc.c | |
parent | b9f51206b4568a2cf4243bfdc5d192c1804d0b8e (diff) | |
download | rspamd-e9b802f8c73dff121421128c94076475e0df3bda.tar.gz rspamd-e9b802f8c73dff121421128c94076475e0df3bda.zip |
[Project] Convert all C modules to fast debug infrastructure
Diffstat (limited to 'src/lua/lua_xmlrpc.c')
-rw-r--r-- | src/lua/lua_xmlrpc.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lua/lua_xmlrpc.c b/src/lua/lua_xmlrpc.c index 9f8508945..4864dbfef 100644 --- a/src/lua/lua_xmlrpc.c +++ b/src/lua/lua_xmlrpc.c @@ -26,11 +26,13 @@ static const struct luaL_reg xmlrpclib_m[] = { {NULL, NULL} }; -#define msg_debug_xmlrpc(...) rspamd_default_log_function (G_LOG_LEVEL_DEBUG, \ - "xmlrpc", "", \ +#define msg_debug_xmlrpc(...) rspamd_conditional_debug_fast (NULL, NULL, \ + rspamd_xmlrpc_log_id, "xmlrpc", "", \ G_STRFUNC, \ __VA_ARGS__) +INIT_LOG_MODULE(xmlrpc) + enum lua_xmlrpc_state { read_method_responce = 0, read_params = 1, |