mirror of
https://github.com/camptocamp/odoo-cloud-platform.git
synced 2026-06-24 08:47:40 +00:00
Change CI to GitHub actions
Use copier template from oca/oca-addons-repo-template Target Python3.7 Adapt modules to fix few issues
This commit is contained in:
@@ -33,9 +33,9 @@ class OdooJsonFormatter(jsonlogger.JsonFormatter):
|
||||
|
||||
|
||||
if is_true(os.environ.get('ODOO_LOGGING_JSON')):
|
||||
format = ('%(asctime)s %(pid)s %(levelname)s'
|
||||
'%(dbname)s %(name)s: %(message)s')
|
||||
formatter = OdooJsonFormatter(format)
|
||||
format_str = ('%(asctime)s %(pid)s %(levelname)s'
|
||||
'%(dbname)s %(name)s: %(message)s')
|
||||
formatter = OdooJsonFormatter(format_str)
|
||||
logging.getLogger().handlers[0].formatter = formatter
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user