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

technoboy pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-3.0 by this push:
     new 7a033591a0d [fix][fn] fix functions_log4j2.xml delete strategy config 
(#21215)
7a033591a0d is described below

commit 7a033591a0d19bd62e6c34ddb9f289e45045d771
Author: hanmz <[email protected]>
AuthorDate: Mon Sep 25 20:53:18 2023 +0800

    [fix][fn] fix functions_log4j2.xml delete strategy config (#21215)
---
 conf/functions_log4j2.xml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/functions_log4j2.xml b/conf/functions_log4j2.xml
index 6902a3acd87..fd4042e82e8 100644
--- a/conf/functions_log4j2.xml
+++ b/conf/functions_log4j2.xml
@@ -68,7 +68,7 @@
                     <basePath>${sys:pulsar.function.log.dir}</basePath>
                     <maxDepth>2</maxDepth>
                     <IfFileName>
-                        <glob>*/${sys:pulsar.function.log.file}*log.gz</glob>
+                        <glob>${sys:pulsar.function.log.file}*log.gz</glob>
                     </IfFileName>
                     <IfLastModified>
                         <age>30d</age>
@@ -101,7 +101,7 @@
                     <basePath>${sys:pulsar.function.log.dir}</basePath>
                     <maxDepth>2</maxDepth>
                     <IfFileName>
-                        
<glob>*/${sys:pulsar.function.log.file}.bk*log.gz</glob>
+                        <glob>${sys:pulsar.function.log.file}.bk*log.gz</glob>
                     </IfFileName>
                     <IfLastModified>
                         <age>30d</age>

Reply via email to