aboutsummaryrefslogtreecommitdiffstats
path: root/src/protocol.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-19 12:10:38 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2010-07-19 12:10:38 +0400
commit4b4c9c35fe2347779d9636b71b4e1fb4456802f3 (patch)
treeb5d237c16893f83874fff36bffe57099deb80375 /src/protocol.c
parent1cad485b678054cbf41302204d981176266c71bc (diff)
downloadrspamd-4b4c9c35fe2347779d9636b71b4e1fb4456802f3.tar.gz
rspamd-4b4c9c35fe2347779d9636b71b4e1fb4456802f3.zip
* Improve logging
* Write queue id to log * Remove test messages from cmake
Diffstat (limited to 'src/protocol.c')
-rw-r--r--src/protocol.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol.c b/src/protocol.c
index 276b63a9e..3dacfdc04 100644
--- a/src/protocol.c
+++ b/src/protocol.c
@@ -719,7 +719,7 @@ write_check_reply (struct worker_task *task)
cd.task = task;
cd.log_buf = logbuf;
- cd.log_offset = rspamd_snprintf (logbuf, sizeof (logbuf), "msg ok, id: <%s>, ", task->message_id);
+ cd.log_offset = rspamd_snprintf (logbuf, sizeof (logbuf), "id: <%s>, qid: <%s>, ", task->message_id, task->queue_id);
cd.log_size = sizeof (logbuf);
cd.alive = TRUE;
@@ -805,7 +805,7 @@ write_process_reply (struct worker_task *task)
cd.task = task;
cd.log_buf = logbuf;
- cd.log_offset = rspamd_snprintf (logbuf, sizeof (logbuf), "msg ok, id: <%s>, ", task->message_id);
+ cd.log_offset = rspamd_snprintf (logbuf, sizeof (logbuf), "id: <%s>, qid: <%s>, ", task->message_id, task->queue_id);
cd.log_size = sizeof (logbuf);
cd.alive = TRUE;