Hass.io Logs - Where are the actual log files please? - Solved

I have set up SSH to connect to my Hass.io server (0.52.1), and I know I can run “hassio homeassistant logs” from the command line, but where are these logs coming from? Where is the flat file that stores them?

I would like to be able to monitor the log output during a hassio restart using “tail -f”, and I would like to look at and filter the whole log file for certain messages, but I can’t do that due to “hassio homeassistant logs” limitations. I basically need something like this:

tail -f /home/homeassistant/.homeassistant/home-assistant.log

On another note, how do I manually update Hass.io as the option to update isn’t appearing?

Thanks.

/config/home-assistant.log

1 Like

Apologies, I knew about that log (I should have said), but it only includes the errors and not the rest of the information that “hassio homeassistant logs” shows

Figured out that I can show full log details in /config/home-assistant.log by including “logger:” in my configuration.yaml. Result is that I can now use tail -f on that file for real-time monitoring and ability to see full log history. :slight_smile:

4 Likes

if i installed hassio in docker, (ubuntu), where would the log file be…?

2 Likes

this is irrelevant now since i use unraid