From 6fa88d8c8d80c0178a358adc17f6a6e2a63fb7eb Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Mon, 15 Jan 2024 21:04:20 +0100 Subject: [PATCH] Force log level in bashio to 8 https://github.com/alexbelgium/hassio-addons/issues/1186 --- .templates/ha_entrypoint_modif.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.templates/ha_entrypoint_modif.sh b/.templates/ha_entrypoint_modif.sh index 779c3f642..010d13712 100755 --- a/.templates/ha_entrypoint_modif.sh +++ b/.templates/ha_entrypoint_modif.sh @@ -46,3 +46,7 @@ done # Define shebang sed -i "s|/command/with-contenv bashio|$shebang|g" /ha_entrypoint.sh + +# Avoid log_level interference +# Avoid interference with LOG_LEVEL used in the app +sed -i 's|{LOG_LEVEL:|{8:|g' /usr/lib/bashio/bashio.sh