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 2022/03/12 18:45:00 UTC
[logging-log4j2] branch release-2.x updated: Fix minor typo (#792)
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch release-2.x
in repository https://gitbox.apache.org/repos/asf/logging-log4j2.git
The following commit(s) were added to refs/heads/release-2.x by this push:
new e291887 Fix minor typo (#792)
e291887 is described below
commit e291887d07b03a93cefe6e1cafdfb2cb648bf881
Author: Longfei Lin <lo...@gmail.com>
AuthorDate: Sat Mar 12 19:44:53 2022 +0100
Fix minor typo (#792)
---
.../main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java | 2 +-
src/site/xdoc/manual/configuration.xml.vm | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java
index b1708b8..3234734 100644
--- a/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java
+++ b/log4j-core/src/main/java/org/apache/logging/log4j/core/util/AbstractWatcher.java
@@ -39,7 +39,7 @@ public abstract class AbstractWatcher implements Watcher {
this.reconfigurable = reconfigurable;
this.configurationListeners = configurationListeners;
this.threadFactory = configurationListeners != null ?
- Log4jThreadFactory.createDaemonThreadFactory("ConfiguratonFileWatcher") : null;
+ Log4jThreadFactory.createDaemonThreadFactory("ConfigurationFileWatcher") : null;
}
@Override
diff --git a/src/site/xdoc/manual/configuration.xml.vm b/src/site/xdoc/manual/configuration.xml.vm
index f9a95d6..e543e1a 100644
--- a/src/site/xdoc/manual/configuration.xml.vm
+++ b/src/site/xdoc/manual/configuration.xml.vm
@@ -368,7 +368,7 @@ public class Bar {
</p>
</subsection>
<a name="Configuration From a URI"/>
- <subsection name="Configuraton From a URI">
+ <subsection name="Configuration From a URI">
<p>
When <code>log4j2.configurationFile</code> references a URL Log4j will first determine if the URL reference
a file using the file protocol. If it does Log4j will validate that the file url is valid and continue