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

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


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

commit 72c6308e4e0e563fa970732b4c3f676f3c254e3d
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