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/plugins/spf.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/plugins/spf.c')
-rw-r--r-- | src/plugins/spf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/spf.c b/src/plugins/spf.c index 581f08b84..ae762f12a 100644 --- a/src/plugins/spf.c +++ b/src/plugins/spf.c @@ -107,7 +107,7 @@ spf_module_config (struct config_file *cfg) metric = g_hash_table_lookup (cfg->metrics, spf_module_ctx->metric); if (metric == NULL) { - msg_err ("spf_module_config: cannot find metric definition %s", spf_module_ctx->metric); + msg_err ("cannot find metric definition %s", spf_module_ctx->metric); return FALSE; } @@ -184,7 +184,7 @@ spf_symbol_callback (struct worker_task *task, void *unused) { if (task->from_addr.s_addr != INADDR_NONE && task->from_addr.s_addr != INADDR_ANY) { if (!resolve_spf (task, spf_plugin_callback)) { - msg_info ("spf_symbol_callback: cannot make spf request for [%s]", task->message_id); + msg_info ("cannot make spf request for [%s]", task->message_id); } } } |