You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@atlas.apache.org by am...@apache.org on 2021/02/09 18:48:47 UTC

[atlas] branch branch-2.0 updated: ATLAS-4151: FixedBufferList: Change Log Level to Debug

This is an automated email from the ASF dual-hosted git repository.

amestry pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/atlas.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 73c9a27  ATLAS-4151: FixedBufferList: Change Log Level to Debug
73c9a27 is described below

commit 73c9a2700a39fb8a3a749b4a3c046fb3caf7b035
Author: Ashutosh Mestry <am...@cloudera.com>
AuthorDate: Tue Feb 9 09:08:54 2021 -0800

    ATLAS-4151: FixedBufferList: Change Log Level to Debug
---
 intg/src/main/java/org/apache/atlas/utils/FixedBufferList.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/intg/src/main/java/org/apache/atlas/utils/FixedBufferList.java b/intg/src/main/java/org/apache/atlas/utils/FixedBufferList.java
index cf6ec02..d407151 100644
--- a/intg/src/main/java/org/apache/atlas/utils/FixedBufferList.java
+++ b/intg/src/main/java/org/apache/atlas/utils/FixedBufferList.java
@@ -70,7 +70,9 @@ public class FixedBufferList<T extends Clearable> {
         this.buffer.ensureCapacity(newCapacity);
         instantiateItems(oldCapacity, newCapacity);
 
-        LOG.info("FixedBufferList: Requested: {} From: {} To:{}", requestedCapacity, oldCapacity, newCapacity);
+        if (LOG.isDebugEnabled()) {
+            LOG.debug("FixedBufferList: Requested: {} From: {} To:{}", requestedCapacity, oldCapacity, newCapacity);
+        }
     }
 
     private void instantiateItems(int startIndex, int maxSize) {