mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-23 18:04:34 +00:00
[FIX] pre-commit: after merge
This commit is contained in:
@@ -35,7 +35,9 @@ class OdooJsonFormatter(JsonFormatter):
|
||||
|
||||
|
||||
if is_true(os.environ.get("ODOO_LOGGING_JSON")):
|
||||
formatted_message = "%(asctime)s %(pid)s %(levelname)s %(dbname)s %(name)s: %(message)s"
|
||||
formatted_message = (
|
||||
"%(asctime)s %(pid)s %(levelname)s %(dbname)s %(name)s: %(message)s"
|
||||
)
|
||||
formatter = OdooJsonFormatter(formatted_message)
|
||||
|
||||
if is_true(os.environ.get("ODOO_LOGGING_JSON_STDERR")):
|
||||
|
||||
Reference in New Issue
Block a user