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/01/20 01:18:57 UTC

[logging-log4j2] 03/03: Log4j 1.2 bridge now logs a warning instead of throwing an NullPointerException when building a Syslog appender with a missing "SyslogHost" param.

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

commit 895e9306f64a3d58e42775dc0168613908ed9d80
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Wed Jan 19 20:18:49 2022 -0500

    Log4j 1.2 bridge now logs a warning instead of throwing an
    NullPointerException when building a Syslog appender with a missing
    "SyslogHost" param.
---
 src/changes/changes.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/changes/changes.xml b/src/changes/changes.xml
index 9757d13..c1ded31 100644
--- a/src/changes/changes.xml
+++ b/src/changes/changes.xml
@@ -130,6 +130,9 @@
       <action dev="ggregory" type="fix" issue="LOG4J2-3328" due-to="Gary Gregory">
         Log4j 1.2 bridge does not support system properties in log4j.xml.
       </action>
+      <action dev="ggregory" type="fix" due-to="Gary Gregory">
+        Log4j 1.2 bridge now logs a warning instead of throwing an NullPointerException when building a Syslog appender with a missing "SyslogHost" param.
+      </action>
       <action dev="ggregory" type="fix">
         JndiManager reverts to 2.17.0 behavior: Read the system property for each call.
       </action>