You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2016/12/16 00:35:08 UTC

logging-log4j2 git commit: Fix swapped debugging message arguments.

Repository: logging-log4j2
Updated Branches:
  refs/heads/master e7e58a324 -> 7441d3c3c


Fix swapped debugging message arguments.

Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/7441d3c3
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/7441d3c3
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/7441d3c3

Branch: refs/heads/master
Commit: 7441d3c3cc57130a56535dbbd15a5d819f0a3834
Parents: e7e58a3
Author: Gary Gregory <gg...@apache.org>
Authored: Thu Dec 15 16:35:03 2016 -0800
Committer: Gary Gregory <gg...@apache.org>
Committed: Thu Dec 15 16:35:03 2016 -0800

----------------------------------------------------------------------
 .../apache/logging/log4j/core/config/ConfigurationScheduler.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/7441d3c3/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationScheduler.java
----------------------------------------------------------------------
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationScheduler.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationScheduler.java
index 55cd74a..a832cf4 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationScheduler.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationScheduler.java
@@ -42,7 +42,7 @@ public class ConfigurationScheduler extends AbstractLifeCycle {
     public void start() {
         super.start();
         if (scheduledItems > 0) {
-            LOGGER.debug("{} starting {} threads", scheduledItems, SIMPLE_NAME);
+            LOGGER.debug("{} starting {} threads", SIMPLE_NAME, scheduledItems);
             scheduledItems = Math.min(scheduledItems, MAX_SCHEDULED_ITEMS);
             executorService = new ScheduledThreadPoolExecutor(scheduledItems,
                     Log4jThreadFactory.createDaemonThreadFactory("Scheduled"));