Permalink
Browse files

Removed fields from detail message that service bus isn't sending

  • Loading branch information...
christav committed Mar 17, 2013
1 parent bacd8dc commit 44c89be4a7435df89e07290318736fa7a7d2ff48
Showing with 1 addition and 5 deletions.
  1. +1 −3 lib/servicebusconnector.js
  2. +0 −2 test/logging-tests.js
@@ -117,9 +117,7 @@ ServiceBusConnector.prototype.unpackMessage = function(message) {
try {
result.args = JSON.parse(message.body);
this.log && this.log.info('Service Bus received message', 'from:' + result.nodeId, 'message:' + result.name);
- this.log && this.log.debug('Service Bus received message', 'size:' + message.brokerProperties.Size,
- 'enqueuedTime:' + message.brokerProperties.EnqueuedTimeUtc,
- 'messageId:' + message.brokerProperties.MessageId);
+ this.log && this.log.debug('Service Bus received message', 'messageId:' + message.brokerProperties.MessageId);
return result;
} catch (ex) {
// Issue unpacking the message, assume it's bad and toss it
View
@@ -139,8 +139,6 @@ describe('logging', function () {
recv(message);
logger.debug.calledWith('Service Bus received message',
- 'size:' + message.brokerProperties.Size,
- 'enqueuedTime:' + message.brokerProperties.EnqueuedTimeUtc,
'messageId:' + message.brokerProperties.MessageId).should.be.true;
});

0 comments on commit 44c89be

Please sign in to comment.