summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-07-04 01:43:18 -0400
committerEvan Prodromou <evan@controlyourself.ca>2009-07-04 01:43:18 -0400
commit66a4a60e0bb67ba9094cd94be5992c70e5352e54 (patch)
tree207c9925e0142e825d60a6cae8060084e563b2c6 /lib
parent49eaa04b508f6e27533f494dedd4997416670bef (diff)
better debug logging in stomp queue manager
Diffstat (limited to 'lib')
-rw-r--r--lib/stompqueuemanager.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/stompqueuemanager.php b/lib/stompqueuemanager.php
index a6bac861b..5f0b88d8a 100644
--- a/lib/stompqueuemanager.php
+++ b/lib/stompqueuemanager.php
@@ -75,12 +75,12 @@ class StompQueueManager
array ('created' => $notice->created));
if (!$result) {
- common_log(LOG_ERR, 'Error sending to '.$transport.' queue');
+ common_log(LOG_ERR, 'Error sending to '.$queue.' queue');
return false;
}
common_log(LOG_DEBUG, 'complete remote queueing notice ID = '
- . $notice->id . ' for ' . $transport);
+ . $notice->id . ' for ' . $queue);
}
function service($queue, $handler)
@@ -101,7 +101,7 @@ class StompQueueManager
$notice = Notice::staticGet($frame->body);
if ($handler->handle_notice($notice)) {
- $this->_log(LOG_INFO, 'Successfully handled notice '. $notice->id);
+ $this->_log(LOG_INFO, 'Successfully handled notice '. $notice->id .' posted at ' . $frame->headers['created']);
$this->con->ack($frame);
}
}