diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-19 12:10:38 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-19 12:10:38 +0400 |
commit | 4b4c9c35fe2347779d9636b71b4e1fb4456802f3 (patch) | |
tree | b5d237c16893f83874fff36bffe57099deb80375 /src/protocol.c | |
parent | 1cad485b678054cbf41302204d981176266c71bc (diff) | |
download | rspamd-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.c | 4 |
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; |