Exceptions were logged to stderr so we couldn't see them when Odoo was running as a service on the IoT Box. We now redirect stderr to the logger to see track errors in the log file too. closes odoo/odoo#41028 Taskid: 2146835 X-original-commit: 54a1919cbc37f5832ce110605c29b222c7a5bfe9 Signed-off-by: Antoine Prieëls <aprieels@users.noreply.github.com>