HA Failing - where to find logs?

Hi All,
I have homeassistant running in a docker container. a few times over the last week, HA has simply frozen up / stopped responding, but the container is still running. Fix has been to kill and restart the container, after which everything is fine again.
I would like to find the source of these crashes, but not really sure where to start looking. Home-assistant.log only seems to contain info from the container boot up forward, and other than that i dont see any other log files.
the only volume i have mapped outside of the container is /config.
is there another log path i need to map out ?

Thanks

Use the !ogger to turn on debugging. Logs at developer tools>logs in the ui.

dev tools -> logs is the same information as the log file in the config directory. so same issue, only populated from restart.

where does one turn on debugging ?

Look up the logger documentation. Once you enable debugging the messages will appear in logs as I said above.

What are you trying to see? HA is only going to log what it does, not how it got launched, etc. I’m not sure why you say “only populated from restart.” How can it log anything from before it starts running???

Assuming you do want to see HA’s log, then you will probably want more details, as already suggested. Either:

logger:
  default: debug

Or at least:

logger:
  default: info
  logs:
    homeassistant.core: debug