aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-06 22:39:49 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-05-06 22:39:49 +0400
commit6de65fd30e9f2c924f5c73281c7bea1679fb18fa (patch)
tree106dda57166e10c2663e09cc872ce9990ea40442
parent12bd5905706b1364fdf0cd33008a630ecaae65c5 (diff)
downloadrspamd-6de65fd30e9f2c924f5c73281c7bea1679fb18fa.tar.gz
rspamd-6de65fd30e9f2c924f5c73281c7bea1679fb18fa.zip
* Improve logging
-rw-r--r--src/expressions.c2
-rw-r--r--src/plugins/surbl.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/expressions.c b/src/expressions.c
index 07f1c45fb..c0c791907 100644
--- a/src/expressions.c
+++ b/src/expressions.c
@@ -754,7 +754,7 @@ get_function_arg (struct expression *expr, struct worker_task *task, gboolean wa
} else if (it->type == EXPR_OPERATION) {
if (g_queue_is_empty (stack)) {
/* Queue has no operands for operation, exiting */
- msg_warn ("get_function_arg: invalid expression");
+ msg_debug ("get_function_arg: invalid expression");
g_queue_free (stack);
return NULL;
}
diff --git a/src/plugins/surbl.c b/src/plugins/surbl.c
index a5c1bd4b4..d44c7fbe7 100644
--- a/src/plugins/surbl.c
+++ b/src/plugins/surbl.c
@@ -388,12 +388,12 @@ dns_callback (int result, char type, int count, int ttl, void *addresses, void *
*(param->url->host + param->url->hostlen) = 0;
/* If we have result from DNS server, this url exists in SURBL, so increase score */
if (result == DNS_ERR_NONE && type == DNS_IPv4_A) {
- msg_info ("surbl_check: <%s> url %s is in surbl %s",
+ msg_info ("surbl_check: <%s> url [%s] is in surbl %s",
param->task->message_id, param->url->host, param->suffix->suffix);
process_dns_results (param->task, param->suffix, param->url->host, (uint32_t)(((in_addr_t *)addresses)[0]));
}
else {
- msg_debug ("surbl_check: <%s> url %s is not in surbl %s",
+ msg_debug ("surbl_check: <%s> url [%s] is not in surbl %s",
param->task->message_id, param->url->host, param->suffix->suffix);
}
*(param->url->host + param->url->hostlen) = c;