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

kturner pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/main by this push:
     new 676989a1e3 lower level on thrift scanner log message and fix message 
(#5088)
676989a1e3 is described below

commit 676989a1e39dbbaf2ff8e2e881e239c5b2a839b8
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Fri Nov 22 16:02:59 2024 -0500

    lower level on thrift scanner log message and fix message (#5088)
    
    ThriftScanner was logging a debug message when closing a scan and was
    too chatty.  Also the message was printing an object w/o a toString
    method.  Fixed the log message and lowered its level.
---
 .../main/java/org/apache/accumulo/core/clientImpl/ThriftScanner.java   | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/clientImpl/ThriftScanner.java 
b/core/src/main/java/org/apache/accumulo/core/clientImpl/ThriftScanner.java
index 4703ac8c08..d3fd02b44e 100644
--- a/core/src/main/java/org/apache/accumulo/core/clientImpl/ThriftScanner.java
+++ b/core/src/main/java/org/apache/accumulo/core/clientImpl/ThriftScanner.java
@@ -980,7 +980,8 @@ public class ThriftScanner {
     if (!scanState.finished && scanState.scanID != null && scanState.prevLoc 
!= null) {
       TInfo tinfo = TraceUtil.traceInfo();
 
-      log.debug("Closing active scan {} {}", scanState.prevLoc, 
scanState.scanID);
+      log.trace("Closing active scan {} {} {}", scanState.prevLoc.serverType,
+          scanState.prevLoc.serverAddress, scanState.scanID);
       HostAndPort parsedLocation = 
HostAndPort.fromString(scanState.prevLoc.serverAddress);
       TabletScanClientService.Client client = null;
       try {

Reply via email to