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

jinwoo pushed a commit to branch support/1.15
in repository https://gitbox.apache.org/repos/asf/geode.git


The following commit(s) were added to refs/heads/support/1.15 by this push:
     new f20da2abd3 Update NullLogWriter to migrate NullOutputStream to 
INSTANCE (#7909)
f20da2abd3 is described below

commit f20da2abd3d2f5c24553b9f55641cda7efb00dee
Author: Jinwoo Hwang <[email protected]>
AuthorDate: Thu Aug 28 03:42:46 2025 -0400

    Update NullLogWriter to migrate NullOutputStream to INSTANCE (#7909)
    
    (cherry picked from commit 8e0fdc2e3a51dad1f0348633772e5c1377b3db28)
---
 .../org/apache/geode/gradle/plugins/DependencyConstraints.groovy      | 2 +-
 .../org/apache/geode/logging/log4j/internal/impl/NullLogWriter.java   | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
 
b/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
index 5ab912d07f..1f2c61ebfc 100644
--- 
a/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
+++ 
b/build-tools/geode-dependency-management/src/main/groovy/org/apache/geode/gradle/plugins/DependencyConstraints.groovy
@@ -33,7 +33,7 @@ class DependencyConstraints {
     // These version numbers are consumed by 
:geode-modules-assembly:distAppServer filtering
     // Some of these are referenced below as well
     deps.put("antlr.version", "2.7.7")
-    deps.put("commons-io.version", "2.11.0")
+    deps.put("commons-io.version", "2.15.1")
     deps.put("commons-lang3.version", "3.12.0")
     deps.put("commons-validator.version", "1.7")
     deps.put("fastutil.version", "8.5.8")
diff --git 
a/geode-log4j/src/main/java/org/apache/geode/logging/log4j/internal/impl/NullLogWriter.java
 
b/geode-log4j/src/main/java/org/apache/geode/logging/log4j/internal/impl/NullLogWriter.java
index 6ccde96668..13bc617bde 100644
--- 
a/geode-log4j/src/main/java/org/apache/geode/logging/log4j/internal/impl/NullLogWriter.java
+++ 
b/geode-log4j/src/main/java/org/apache/geode/logging/log4j/internal/impl/NullLogWriter.java
@@ -14,7 +14,7 @@
  */
 package org.apache.geode.logging.log4j.internal.impl;
 
-import static org.apache.commons.io.output.NullOutputStream.NULL_OUTPUT_STREAM;
+import static org.apache.commons.io.output.NullOutputStream.INSTANCE;
 
 import java.io.PrintStream;
 
@@ -27,7 +27,7 @@ import org.apache.geode.logging.internal.spi.LogWriterLevel;
 class NullLogWriter extends ManagerLogWriter {
 
   NullLogWriter() {
-    this(LogWriterLevel.NONE.intLevel(), new PrintStream(NULL_OUTPUT_STREAM), 
true);
+    this(LogWriterLevel.NONE.intLevel(), new PrintStream(INSTANCE), true);
   }
 
   NullLogWriter(final int level, final PrintStream printStream, final boolean 
loner) {

Reply via email to