Skip to content

Commit

Permalink
Set complete to false in default log4j config (#781)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng authored Oct 8, 2024
1 parent f4f6f99 commit e8b1034
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 e8b1034

Please sign in to comment.