Skip to content

Commit 399d7a5

Browse files
Set complete to false in default log4j config (#781)
1 parent 7ff1021 commit 399d7a5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

controllers/spec/template/java-runtime-log4j.xml.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<target>SYSTEM_OUT</target>
1818
{{ if .Format | eq "json" }}
1919
<JSONLayout>
20-
<complete>true</complete>
20+
<complete>false</complete>
2121
<compact>true</compact>
2222
<eventEol>true</eventEol>
2323
</JSONLayout>
@@ -34,7 +34,7 @@
3434
<filePattern>\${sys:pulsar.function.log.dir}/\${sys:pulsar.function.log.file}.%d{yyyy-MM-dd-hh-mm}-%i.log.gz</filePattern>
3535
{{ if .Format | eq "json" }}
3636
<JSONLayout>
37-
<complete>true</complete>
37+
<complete>false</complete>
3838
<compact>true</compact>
3939
<eventEol>true</eventEol>
4040
</JSONLayout>

controllers/spec/template/java-runtime-log4j.yaml.tmpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Configuration:
1414
target: SYSTEM_OUT
1515
{{ if .Format | eq "json" }}
1616
JSONLayout:
17-
complete: true
17+
complete: false
1818
compact: true
1919
eventEol: true
2020
{{ else }}
@@ -28,7 +28,7 @@ Configuration:
2828
filePattern: \"\${sys:pulsar.function.log.dir}/\${sys:pulsar.function.log.file}.%d{yyyy-MM-dd}-%i.log.gz\"
2929
{{ if .Format | eq "json" }}
3030
JSONLayout:
31-
complete: true
31+
complete: false
3232
compact: true
3333
eventEol: true
3434
{{ else }}

0 commit comments

Comments
 (0)