You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
s-allius
changed the title
HA AddOn: Concept how to handle the proxy logs in an AddOn
HA AddOn: Concept how to handle the proxy logs in AddOn mode
Dec 2, 2024
I mounted the add-on log folder for testpurpose. but, this is something we could take over to the actual add-on config. this would give users the possibility to see the logs.
this in combination with a switch to enable/disable might be meaningful.
let me keep this test for some days and I'll come with a more precise suggestion.
latest concept is to have a log folder that is mounted to Homeassistant "addon_configs" (accessible e.g. via SMB or Studio Code Server Add-on,...)
to prevent the system from endless storing, the files older than (2) days get automatically removed.
I'm personally already happy with this. :)
just for completeness, we could develop following further steps:
variant log-files in mounted folder
we could give a option in configuration tab to configure the number of days to keep log-files.
variant debug-mode in Add-on Log
we could have a switch in add-on config that indicates the proxy to run in debug mode. this would plot debug messages to the Add-on (Supervisor) Logservice.
if we implement this as radio button/list option (Log-Level), we could also set it to a ERROR mode where the usual connect/disconnect messages doesn't appear.
The proxy writes a lot of information in log files. These are huge (5..8MB per day). We need a concept how we would handle this:
The text was updated successfully, but these errors were encountered: