You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@usergrid.apache.org by md...@apache.org on 2015/11/07 00:36:50 UTC
usergrid git commit: Change read by name not found message from INFO
to DEBUG.
Repository: usergrid
Updated Branches:
refs/heads/2.1-release ad07e2bb1 -> c3a5bc436
Change read by name not found message from INFO to DEBUG.
Project: http://git-wip-us.apache.org/repos/asf/usergrid/repo
Commit: http://git-wip-us.apache.org/repos/asf/usergrid/commit/c3a5bc43
Tree: http://git-wip-us.apache.org/repos/asf/usergrid/tree/c3a5bc43
Diff: http://git-wip-us.apache.org/repos/asf/usergrid/diff/c3a5bc43
Branch: refs/heads/2.1-release
Commit: c3a5bc436d927bab0a17db7e857027914a4d6b15
Parents: ad07e2b
Author: Mike Dunker <md...@apigee.com>
Authored: Fri Nov 6 15:36:21 2015 -0800
Committer: Mike Dunker <md...@apigee.com>
Committed: Fri Nov 6 15:36:21 2015 -0800
----------------------------------------------------------------------
.../org/apache/usergrid/services/AbstractCollectionService.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/usergrid/blob/c3a5bc43/stack/services/src/main/java/org/apache/usergrid/services/AbstractCollectionService.java
----------------------------------------------------------------------
diff --git a/stack/services/src/main/java/org/apache/usergrid/services/AbstractCollectionService.java b/stack/services/src/main/java/org/apache/usergrid/services/AbstractCollectionService.java
index 607c476..351abc6 100644
--- a/stack/services/src/main/java/org/apache/usergrid/services/AbstractCollectionService.java
+++ b/stack/services/src/main/java/org/apache/usergrid/services/AbstractCollectionService.java
@@ -152,7 +152,9 @@ public class AbstractCollectionService extends AbstractService {
Entity entity = em.getUniqueEntityFromAlias( getEntityType(), name );
if ( entity == null ) {
- logger.info( "miss on entityType: {} with name: {}", getEntityType(), name );
+ if (logger.isDebugEnabled()) {
+ logger.debug("miss on entityType: {} with name: {}", getEntityType(), name);
+ }
String msg = "Cannot find entity with name: "+name;
throw new EntityNotFoundException( msg );
}