this post was submitted on 13 Jun 2023
18 points (100.0% liked)
homeassistant
11990 readers
1 users here now
Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
stupid question but how can I see the logs prior to the restart? when I go to the logs I can only see the logs starting from when I restarted the Pi
I had to look it up because I wasn't sure. According to what I found you should enable logger in your configuration.yaml
The default is to log warnings, you'll want to put:
logger
default: info
Or something similar to the above. Then when it crashes you'll want to take the SD card to another computer before HA boots back up and look at the /config/home-assistant.log file. On boot it clears that file is why you want to read it before it boots again.
Hopefully that helps