Files
odoo_source/addons/hw_posbox_homepage
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
..