Home Assistant log file missing and not regenerating

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.

1 Like

Was introduced in a recent update, 2025.11, no more .log file.

Petro released a custom component for recreate the old log file.

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?

I have the same need. HAOS reboots, but I have no idea why. I need to see what happened before HAOS crashes.

Any solution for this?