summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-22 01:32:18 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-12-22 01:32:18 +0300
commite413f4ee9cd298baab701df31ab4c1cb91c7c4b6 (patch)
tree46858bef680c8a09b6d1d58a5ca7e3a8cec4e62d /utils
parenta079dac866ac4e166a8d6e40f978af74e8398583 (diff)
downloadrspamd-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 'utils')
-rw-r--r--utils/url_extracter.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/utils/url_extracter.c b/utils/url_extracter.c
index 97bf72c47..6130c51ef 100644
--- a/utils/url_extracter.c
+++ b/utils/url_extracter.c
@@ -56,9 +56,6 @@ main (int argc, char **argv)
}
task.cfg = memory_pool_alloc0 (task.task_pool, sizeof (struct config_file));
- task.cfg->log_level = G_LOG_LEVEL_CRITICAL;
- task.cfg->log_fd = STDERR_FILENO;
- g_log_set_default_handler (file_log_function, task.cfg);
task.msg = memory_pool_alloc (task.task_pool, sizeof (f_str_t));
task.msg->begin = buf;