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

penghui pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/master by this push:
     new 70c4003c5c5 [fix][broker]: make log4j2 delete strategy work (#19495)
70c4003c5c5 is described below

commit 70c4003c5c5ef6d911f639d946c235721b6d0e67
Author: yws-tracy <[email protected]>
AuthorDate: Tue Feb 14 11:19:52 2023 +0800

    [fix][broker]: make log4j2 delete strategy work (#19495)
---
 conf/log4j2.yaml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/log4j2.yaml b/conf/log4j2.yaml
index fff2e063ebd..9c261a6b89a 100644
--- a/conf/log4j2.yaml
+++ b/conf/log4j2.yaml
@@ -78,7 +78,7 @@ Configuration:
             basePath: ${sys:pulsar.log.dir}
             maxDepth: 2
             IfFileName:
-              glob: "*/${sys:pulsar.log.file}*log.gz"
+              glob: "${sys:pulsar.log.file}*log.gz"
             IfLastModified:
               age: 30d
 
@@ -120,7 +120,7 @@ Configuration:
                             basePath: ${sys:pulsar.log.dir}
                             maxDepth: 2
                             IfFileName:
-                              glob: "*/${sys:pulsar.log.file}*log.gz"
+                              glob: "${sys:pulsar.log.file}*log.gz"
                             IfLastModified:
                               age: 30d
                   - ref: "${sys:pulsar.routing.appender.default}"

Reply via email to