accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] keith-turner closed pull request #362: ACCUMULO-4781 changed session logging to trace
Date Thu, 01 Jan 1970 00:00:00 GMT
keith-turner closed pull request #362: ACCUMULO-4781 changed session logging to trace
URL: https://github.com/apache/accumulo/pull/362
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
index 6681414c5c..cf8c9e9fe1 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/TabletServer.java
@@ -632,8 +632,8 @@ public void closeScan(TInfo tinfo, long scanID) {
       if (ss != null) {
         long t2 = System.currentTimeMillis();
 
-        if (log.isDebugEnabled()) {
-          log.debug(String.format("ScanSess tid %s %s %,d entries in %.2f secs, nbTimes =
[%s] ", TServerUtils.clientAddress.get(), ss.extent.getTableId(),
+        if (log.isTraceEnabled()) {
+          log.trace(String.format("ScanSess tid %s %s %,d entries in %.2f secs, nbTimes =
[%s] ", TServerUtils.clientAddress.get(), ss.extent.getTableId(),
               ss.entriesReturned, (t2 - ss.startTime) / 1000.0, ss.nbTimes.toString()));
         }
 
@@ -768,8 +768,8 @@ public void closeMultiScan(TInfo tinfo, long scanID) throws NoSuchScanIDExceptio
 
       long t2 = System.currentTimeMillis();
 
-      if (log.isDebugEnabled()) {
-        log.debug(String.format("MultiScanSess %s %,d entries in %.2f secs (lookup_time:%.2f
secs tablets:%,d ranges:%,d) ", TServerUtils.clientAddress.get(),
+      if (log.isTraceEnabled()) {
+        log.trace(String.format("MultiScanSess %s %,d entries in %.2f secs (lookup_time:%.2f
secs tablets:%,d ranges:%,d) ", TServerUtils.clientAddress.get(),
             session.numEntries, (t2 - session.startTime) / 1000.0, session.totalLookupTime
/ 1000.0, session.numTablets, session.numRanges));
       }
     }
@@ -1064,8 +1064,8 @@ public UpdateErrors closeUpdate(TInfo tinfo, long updateID) throws NoSuchScanIDE
         writeTracker.finishWrite(opid);
       }
 
-      if (log.isDebugEnabled()) {
-        log.debug(String.format("UpSess %s %,d in %.3fs, at=[%s] ft=%.3fs(pt=%.3fs lt=%.3fs
ct=%.3fs)", TServerUtils.clientAddress.get(), us.totalUpdates,
+      if (log.isTraceEnabled()) {
+        log.trace(String.format("UpSess %s %,d in %.3fs, at=[%s] ft=%.3fs(pt=%.3fs lt=%.3fs
ct=%.3fs)", TServerUtils.clientAddress.get(), us.totalUpdates,
             (System.currentTimeMillis() - us.startTime) / 1000.0, us.authTimes.toString(),
us.flushTime / 1000.0, us.prepareTimes.getSum() / 1000.0,
             us.walogTimes.getSum() / 1000.0, us.commitTimes.getSum() / 1000.0));
       }


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message