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/chartable.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/chartable.c')
-rw-r--r-- | src/plugins/chartable.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/chartable.c b/src/plugins/chartable.c index d311da740..ceedc1325 100644 --- a/src/plugins/chartable.c +++ b/src/plugins/chartable.c @@ -91,7 +91,7 @@ chartable_module_config (struct config_file *cfg) errno = 0; chartable_module_ctx->threshold = strtod (value, NULL); if (errno != 0) { - msg_warn ("chartable_module_config: invalid numeric value '%s': %s", value, strerror (errno)); + msg_warn ("invalid numeric value '%s': %s", value, strerror (errno)); chartable_module_ctx->threshold = DEFAULT_THRESHOLD; } } @@ -101,7 +101,7 @@ chartable_module_config (struct config_file *cfg) metric = g_hash_table_lookup (cfg->metrics, chartable_module_ctx->metric); if (metric == NULL) { - msg_err ("chartable_module_config: cannot find metric definition %s", chartable_module_ctx->metric); + msg_err ("cannot find metric definition %s", chartable_module_ctx->metric); return FALSE; } |