Skip to content

Commit

Permalink
fix(monitor): disable validate for Formatter (#3317)
Browse files Browse the repository at this point in the history
3.8 introduces a `validate` field, a breaking change from 3.7. For now we disable the validate to remove unnecessary message columns inside the generated log file.
  • Loading branch information
bojiang committed Dec 6, 2022
1 parent d4bb5cb commit 210071a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bentoml/_internal/monitoring/default.py
Expand Up @@ -45,7 +45,8 @@
formatters:
bentoml_json:
class: pythonjsonlogger.jsonlogger.JsonFormatter
format: " "
format: "()"
validate: false
"""


Expand Down

0 comments on commit 210071a

Please sign in to comment.