You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2018/01/19 16:04:22 UTC

[sling-org-apache-sling-commons-threads] branch master updated: SLING-7407 : lowered log warn to info

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

stefanegli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-commons-threads.git


The following commit(s) were added to refs/heads/master by this push:
     new ea49cff  SLING-7407 : lowered log warn to info
ea49cff is described below

commit ea49cff1ce0d2f3e00fbf16d3b0d35e1b39a6a12
Author: Stefan Egli <eg...@adobe.com>
AuthorDate: Fri Jan 19 17:04:17 2018 +0100

    SLING-7407 : lowered log warn to info
---
 .../java/org/apache/sling/commons/threads/impl/DefaultThreadPool.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/commons/threads/impl/DefaultThreadPool.java b/src/main/java/org/apache/sling/commons/threads/impl/DefaultThreadPool.java
index 30938d1..99cdec5 100644
--- a/src/main/java/org/apache/sling/commons/threads/impl/DefaultThreadPool.java
+++ b/src/main/java/org/apache/sling/commons/threads/impl/DefaultThreadPool.java
@@ -118,7 +118,7 @@ public class DefaultThreadPool
                 // maximum min queue size threads.
                 // To fix this somewhat odd behaviour, we now automatically set the min to max for this case:
                 if (this.configuration.getMinPoolSize() < this.configuration.getMaxPoolSize()) {
-                    this.logger.warn("min-pool-size (" + configuration.getMinPoolSize() + 
+                    this.logger.info("min-pool-size (" + configuration.getMinPoolSize() + 
                             ") < max-pool-size (" + configuration.getMaxPoolSize() + ") for pool \"" + this.name + 
                             "\" which has unbounded queue (queue size -1). Set to " + configuration.getMaxPoolSize());
                     this.configuration.setMinPoolSize(configuration.getMaxPoolSize());

-- 
To stop receiving notification emails like this one, please contact
['"commits@sling.apache.org" <co...@sling.apache.org>'].