diff --git a/controllers/spec/template/java-runtime-log4j.xml.tmpl b/controllers/spec/template/java-runtime-log4j.xml.tmpl index a8cd6def..9768cacf 100644 --- a/controllers/spec/template/java-runtime-log4j.xml.tmpl +++ b/controllers/spec/template/java-runtime-log4j.xml.tmpl @@ -17,7 +17,7 @@ SYSTEM_OUT {{ if .Format | eq "json" }} - true + false true true @@ -34,7 +34,7 @@ \${sys:pulsar.function.log.dir}/\${sys:pulsar.function.log.file}.%d{yyyy-MM-dd-hh-mm}-%i.log.gz {{ if .Format | eq "json" }} - true + false true true diff --git a/controllers/spec/template/java-runtime-log4j.yaml.tmpl b/controllers/spec/template/java-runtime-log4j.yaml.tmpl index e96b15f3..a08fde0f 100644 --- a/controllers/spec/template/java-runtime-log4j.yaml.tmpl +++ b/controllers/spec/template/java-runtime-log4j.yaml.tmpl @@ -14,7 +14,7 @@ Configuration: target: SYSTEM_OUT {{ if .Format | eq "json" }} JSONLayout: - complete: true + complete: false compact: true eventEol: true {{ else }} @@ -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 }}