Files
session_redis_public/logging_json
Sébastien Alixandcyrilmanuel f34dc6be27 logging_json: fix RecursionError
Since Python 3.10, the use of 'threading.currentThread()' is deprecated
and generates a warning, and generating this warning log was in turn
entering in the `logging_json` mechanism, triggering an exception:

RecursionError: maximum recursion depth exceeded while calling a Python object
2024-03-27 13:19:22 +01:00
..
2023-05-24 18:22:55 +02:00
2023-05-24 18:22:55 +02:00
2024-03-27 13:19:22 +01:00
2016-11-02 10:10:05 +01:00
2023-05-24 18:22:55 +02:00

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.