Skip to content

Commit

Permalink
Fix python json log format
Browse files Browse the repository at this point in the history
  • Loading branch information
jiangpengcheng committed Aug 18, 2023
1 parent 5b60920 commit 090bb34
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions controllers/spec/template/python-runtime-log-config.ini.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ handlers={{ .Handlers }}
[handler_stream_handler]
class=StreamHandler
level={{ .Level }}
{{ if .Format | eq "json" }}
formatter=json
{{ else }}
formatter=formatter
{{ end }}
args=(sys.stdout,)

{{ if .Format | eq "json" }}
Expand Down

0 comments on commit 090bb34

Please sign in to comment.