You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ed...@apache.org on 2022/11/01 17:53:38 UTC

[accumulo] branch main updated: address #3053 set ThreadPool creation logging to trace (#3054) (#3061)

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

edcoleman 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 9c1f77934d address #3053 set ThreadPool creation logging to trace (#3054) (#3061)
9c1f77934d is described below

commit 9c1f77934d61ada5deed22aaed1f3afd0ca8ac3c
Author: EdColeman <de...@etcoleman.com>
AuthorDate: Tue Nov 1 13:53:33 2022 -0400

    address #3053 set ThreadPool creation logging to trace (#3054) (#3061)
---
 .../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)) {