I’ve run into a strange issue with my Home Assistant logs. My home-assistant.log file is gone, I suspect I might have deleted it while cleaning up old records, but I assumed the log file would regenerate once new entries were created.
Here’s what I’ve tried so far:
Manually created a new home-assistant.log file in the config directory.
Restarted Home Assistant after creating the file.
Unfortunately, the file remains empty and doesn’t populate with any log content.
Has anyone experienced this before? Do I need to adjust a configuration setting to re-enable logging, or is there a specific way to restore the default log behavior?
Having latest HomeAssistant OS running on a Lenovo Intel based THinkCenter.
Does anyone know if there’s a way with the log storage that does not write to the config directory to view logs from before the HA restart, similar to how home-assistant.log.1 used to work?