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

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


The following commit(s) were added to refs/heads/2.1 by this push:
     new b2897ff783 address #3053 set ThreadPool creation logging to trace 
(#3054)
b2897ff783 is described below

commit b2897ff7832c67333f3714a329e189b8916c328e
Author: EdColeman <d...@etcoleman.com>
AuthorDate: Tue Nov 1 13:18:15 2022 -0400

    address #3053 set ThreadPool creation logging to trace (#3054)
---
 .../main/java/org/apache/accumulo/core/util/threads/ThreadPools.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/core/src/main/java/org/apache/accumulo/core/util/threads/ThreadPools.java 
b/core/src/main/java/org/apache/accumulo/core/util/threads/ThreadPools.java
index c9f05a966e..43993efb4d 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/threads/ThreadPools.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/threads/ThreadPools.java
@@ -474,7 +474,7 @@ public class ThreadPools {
   public ThreadPoolExecutor createThreadPool(int coreThreads, int maxThreads, 
long timeOut,
       TimeUnit units, final String name, BlockingQueue<Runnable> queue, 
OptionalInt priority,
       boolean emitThreadPoolMetrics) {
-    LOG.debug(
+    LOG.trace(
         "Creating ThreadPoolExecutor for {} with {} core threads and {} max 
threads {} {} timeout",
         name, coreThreads, maxThreads, timeOut, units);
     var result = new ThreadPoolExecutor(coreThreads, maxThreads, timeOut, 
units, queue,
@@ -544,7 +544,7 @@ public class ThreadPools {
    */
   public ScheduledThreadPoolExecutor createScheduledExecutorService(int 
numThreads,
       final String name, boolean emitThreadPoolMetrics) {
-    LOG.debug("Creating ScheduledThreadPoolExecutor for {} with {} threads", 
name, numThreads);
+    LOG.trace("Creating ScheduledThreadPoolExecutor for {} with {} threads", 
name, numThreads);
     var result =
         new ScheduledThreadPoolExecutor(numThreads, new 
NamedThreadFactory(name, handler)) {
 

Reply via email to