You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by mr...@apache.org on 2016/02/06 01:40:39 UTC

usergrid git commit: Remove unnecessary log statement introduced.

Repository: usergrid
Updated Branches:
  refs/heads/master 853d6486f -> 857c717e9


Remove unnecessary log statement introduced.


Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/857c717e
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/857c717e
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/857c717e

Branch: refs/heads/master
Commit: 857c717e93a205baa9f9eee1f322a45e16afb457
Parents: 853d648
Author: Michael Russo <mi...@gmail.com>
Authored: Fri Feb 5 16:40:15 2016 -0800
Committer: Michael Russo <mi...@gmail.com>
Committed: Fri Feb 5 16:40:15 2016 -0800

----------------------------------------------------------------------
 .../usergrid/persistence/queue/impl/SNSQueueManagerImpl.java      | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/857c717e/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/impl/SNSQueueManagerImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/impl/SNSQueueManagerImpl.java b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/impl/SNSQueueManagerImpl.java
index 8a503a5..4028d46 100644
--- a/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/impl/SNSQueueManagerImpl.java
+++ b/stack/corepersistence/queue/src/main/java/org/apache/usergrid/persistence/queue/impl/SNSQueueManagerImpl.java
@@ -564,8 +564,6 @@ public class SNSQueueManagerImpl implements QueueManager {
             logger.error( "SQS client is null, perhaps it failed to initialize successfully" );
             return;
         }
-        final long startSend = System.currentTimeMillis();
-        logger.info("starting send message");
         final String stringBody = toString( body );
 
         String url = getReadQueue().getUrl();
@@ -576,7 +574,6 @@ public class SNSQueueManagerImpl implements QueueManager {
 
         SendMessageRequest request = new SendMessageRequest( url, stringBody );
 
-        logger.info("now sending.  time spent since starting to send in ms: {}", System.currentTimeMillis() - startSend);
         sqsAsync.sendMessageAsync( request, new AsyncHandler<SendMessageRequest, SendMessageResult>() {
 
             @Override