Files
odoo_source/addons/hw_drivers/__init__.py
T
Loan (LSE) 46f4f35a50 [IMP] iot: Forward IoT logs to the server
Before this commit:
 IoT logs are kept in an IoT log file.
 Any time the support would need IoT log information, we are forced to
 ask the customer to send it to us as it requires to be in the LAN.

After this commit:
 Relevant* log lines will be automatically send out to the server using
 an HTTP route.
 This feature can be toggled within the Handlers list page

* Relevant =
 - Any odoo logs (depending on the level set in the handlers list, see:
 https://github.com/odoo/odoo/pull/134174 )
 - Any other logs (werkzeug, python libraries, etc.) except /hw_proxy/hello

Note: IoT logs received by the server will ALWAYS be logged regardless
of it level. So an Odoo server set in INFO which receive a DEBUG log
from the IoT will log it in its log with the DEBUG level

opw-3696519

closes odoo/odoo#156605

X-original-commit: 9f35fcd63d0a8a833b8b47e80084e5baccdcfb72
Related: odoo/enterprise#58111
Signed-off-by: Loan Sens (lse) <lse@odoo.com>
2024-03-18 08:45:37 +00:00

14 lines
360 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import server_logger
from . import connection_manager
from . import controllers
from . import driver
from . import event_manager
from . import exception_logger
from . import http
from . import interface
from . import main
from . import websocket_client