usergrid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mru...@apache.org
Subject [11/20] usergrid git commit: Fix info log statement to be trace.
Date Wed, 23 Mar 2016 17:34:39 GMT
Fix info log statement to be trace.


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

Branch: refs/heads/release-2.1.1
Commit: 1e2b082704b1fa1ff3ae4fbdf5afa69902f4aa26
Parents: 11d8a0e
Author: Michael Russo <mrusso@apigee.com>
Authored: Sun Mar 20 22:52:31 2016 -0700
Committer: Michael Russo <mrusso@apigee.com>
Committed: Sun Mar 20 22:52:31 2016 -0700

----------------------------------------------------------------------
 .../impl/shard/impl/ShardGroupCompactionImpl.java             | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/usergrid/blob/1e2b0827/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.java
----------------------------------------------------------------------
diff --git a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.java
b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.java
index e63db46..c83be6b 100644
--- a/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.java
+++ b/stack/corepersistence/graph/src/main/java/org/apache/usergrid/persistence/graph/serialization/impl/shard/impl/ShardGroupCompactionImpl.java
@@ -486,7 +486,12 @@ public class ShardGroupCompactionImpl implements ShardGroupCompaction
{
                  * It's already compacting, don't do anything
                  */
                 if ( !shardCompactionTaskTracker.canStartTask( scope, edgeMeta, group ) )
{
-                    logger.info("the group is already compacting");
+
+                    if(logger.isTraceEnabled()) {
+                        logger.trace("Already compacting, won't compact group: {}", group);
+                    }
+                    
+
                     return AuditResult.COMPACTING;
                 }
 


Mime
View raw message