Add logging_json

This commit is contained in:
Patrick Tombez
2019-05-08 15:54:59 +02:00
parent e2bd7fdbbd
commit 7d02260dee
5 changed files with 71 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
JSON Logging
============
This addon allows to output the Odoo logs in JSON.
Configuration
-------------
The json logging is activated with the environment variable
``ODOO_LOGGING_JSON`` set to ``1``.
In order to have the logs from the start of the server, you should add
``logging_json`` in the ``--load`` flag or in the ``server_wide_modules``
option in the configuration file.