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/perl.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/perl.c')
-rw-r--r-- | src/perl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/perl.c b/src/perl.c index 2849289b6..74dca3d84 100644 --- a/src/perl.c +++ b/src/perl.c @@ -116,7 +116,7 @@ perl_call_header_filter (const char *function, struct worker_task *task) SPAGAIN; result = POPi; - msg_debug ("header_filter: call of %s with returned mark %d\n", function, result); + debug_task ("call of %s with returned mark %d\n", function, result); PUTBACK; FREETMPS; @@ -155,7 +155,7 @@ perl_call_chain_filter (const char *function, struct worker_task *task, int *mar SPAGAIN; result = POPi; - msg_debug ("chain_filter: call of %s returned mark %d\n", function, result); + debug_task ("call of %s returned mark %d\n", function, result); PUTBACK; FREETMPS; |