From 78516e7061c66f9767b8a06bb76181879a3a9ccf Mon Sep 17 00:00:00 2001 From: Ceki Gulcu Date: Tue, 5 Nov 2024 15:01:41 +0100 Subject: [PATCH] minor refactoring Signed-off-by: Ceki Gulcu --- .../java/ch/qos/logback/core/rolling/RollingFileAppender.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingFileAppender.java b/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingFileAppender.java index 94770ff15e..0a119cb350 100755 --- a/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingFileAppender.java +++ b/logback-core/src/main/java/ch/qos/logback/core/rolling/RollingFileAppender.java @@ -145,7 +145,7 @@ private boolean innerCheckForFileNamePatternCollisionInPreviousRFA(FileNamePatte } } if (name != null) { - map.put(getName(), fileNamePattern); + map.put(name, fileNamePattern); } return collisionsDetected; }