diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-12-22 01:32:18 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-12-22 01:32:18 +0300 |
commit | e413f4ee9cd298baab701df31ab4c1cb91c7c4b6 (patch) | |
tree | 46858bef680c8a09b6d1d58a5ca7e3a8cec4e62d /src/events.c | |
parent | a079dac866ac4e166a8d6e40f978af74e8398583 (diff) | |
download | rspamd-e413f4ee9cd298baab701df31ab4c1cb91c7c4b6.tar.gz rspamd-e413f4ee9cd298baab701df31ab4c1cb91c7c4b6.zip |
* Introduce new logging system:
- independent and customizeable buffering
- line buffering
- errors handling support
- custom (ip based) debug
- append function name automaticaly (based on __FUNCTION__)
- add some logic to logs system
Diffstat (limited to 'src/events.c')
-rw-r--r-- | src/events.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/events.c b/src/events.c index 1299980e1..f91e3e847 100644 --- a/src/events.c +++ b/src/events.c @@ -51,7 +51,7 @@ register_async_event (struct rspamd_async_session *session, event_finalizer_t fi GList *cur; if (session == NULL) { - msg_info ("register_async_event: session is NULL"); + msg_info ("session is NULL"); return; } @@ -83,7 +83,7 @@ remove_forced_event (struct rspamd_async_session *session, event_finalizer_t fin GList *cur; if (session == NULL) { - msg_info ("remove_forced_event: session is NULL"); + msg_info ("session is NULL"); return; } @@ -113,7 +113,7 @@ remove_normal_event (struct rspamd_async_session *session, event_finalizer_t fin GList *cur; if (session == NULL) { - msg_info ("remove_forced_event: session is NULL"); + msg_info ("session is NULL"); return; } @@ -138,7 +138,7 @@ destroy_session (struct rspamd_async_session *session) GList *cur, *tmp; if (session == NULL) { - msg_info ("destroy_session: session is NULL"); + msg_info ("session is NULL"); return FALSE; } |