This is an automated email from the ASF dual-hosted git repository.
rgoers 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 defeb40 LOG4J2-2810 - Add information about using a URL in
log4j.configurationFile
defeb40 is described below
commit defeb40d5ec882e03eb97b4ff11e0fea661b1c8c
Author: Ralph Goers <[email protected]>
AuthorDate: Fri Apr 17 16:07:47 2020 -0700
LOG4J2-2810 - Add information about using a URL in log4j.configurationFile
---
src/changes/changes.xml | 3 +++
src/site/xdoc/manual/configuration.xml.vm | 5 ++++-
2 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 272673b..4bb6c3d 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -30,6 +30,9 @@
- "remove" - Removed
-->
<release version="2.13.2" date="2020-MM-DD" description="GA Release
2.13.2">
+ <action issue="LOG4J2-2810" dev="rgoers" type="fix">
+ Add information about using a url in log4j.configurationFile.
+ </action>
<action issue="LOG4J2-2813" dev="rgoers" type="fix" due-to="Keith D
Gregory">
serializeToBytes was checking wrong variable for null.
</action>
diff --git a/src/site/xdoc/manual/configuration.xml.vm
b/src/site/xdoc/manual/configuration.xml.vm
index 70fbe5e..ce22a0f 100644
--- a/src/site/xdoc/manual/configuration.xml.vm
+++ b/src/site/xdoc/manual/configuration.xml.vm
@@ -70,7 +70,8 @@
<ol>
<li>Log4j will inspect the
<code>"log4j.configurationFile"</code> system property and, if set, will
attempt to
load the configuration using the
<code>ConfigurationFactory</code> that matches the file
- extension.</li>
+ extension. Note that this is not restricted to a location on
the local file system and may contain
+ a URL.</li>
<li>If no system property is set the properties
ConfigurationFactory will look for
<code>log4j2-test.properties</code> in the classpath.</li>
<li>If no such file is found the YAML ConfigurationFactory will
look for
@@ -1671,6 +1672,8 @@ public class AwesomeTest {
<td> </td>
<td>
Path to an Log4j 2 configuration file. May also contain a comma
separated list of configuration file names.
+ May contain a URL. When specified as a URL the "override" query
parameter may be used to specify additional
+ configuration file locations.
</td>
</tr>
<tr>