Skip to content

Commit

Permalink
Set complete to false in default log4j config
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Sep 13, 2024
1 parent 699c054 commit cdcd03e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions controllers/spec/template/java-runtime-log4j.xml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<target>SYSTEM_OUT</target>
{{ if .Format | eq "json" }}
<JSONLayout>
<complete>true</complete>
<complete>false</complete>
<compact>true</compact>
<eventEol>true</eventEol>
</JSONLayout>
Expand All @@ -34,7 +34,7 @@
<filePattern>\${sys:pulsar.function.log.dir}/\${sys:pulsar.function.log.file}.%d{yyyy-MM-dd-hh-mm}-%i.log.gz</filePattern>
{{ if .Format | eq "json" }}
<JSONLayout>
<complete>true</complete>
<complete>false</complete>
<compact>true</compact>
<eventEol>true</eventEol>
</JSONLayout>
Expand Down
4 changes: 2 additions & 2 deletions controllers/spec/template/java-runtime-log4j.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Configuration:
target: SYSTEM_OUT
{{ if .Format | eq "json" }}
JSONLayout:
complete: true
complete: false
compact: true
eventEol: true
{{ else }}
Expand All @@ -28,7 +28,7 @@ Configuration:
filePattern: \"\${sys:pulsar.function.log.dir}/\${sys:pulsar.function.log.file}.%d{yyyy-MM-dd}-%i.log.gz\"
{{ if .Format | eq "json" }}
JSONLayout:
complete: true
complete: false
compact: true
eventEol: true
{{ else }}
Expand Down

0 comments on commit cdcd03e

Please sign in to comment.