-
-
Notifications
You must be signed in to change notification settings - Fork 31.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log file not updating on dev-info page #4308
Comments
Delete the log file and make a reboot. |
Deleting and rebooting does not help, at least in docker version |
I have also tried deleting and rebooting and it didn't work |
Same issue here running on windows with Python 3.5.2 Edit: must be some sort of caching issue as switching to a browser that's never loaded HA shows the correct log. |
I'd like to confirm the same issue with my HASS running on Windows in different browsers (Chrome desktop and mobile), Edge. |
Clearing the browser cache will show the same contents as the .log file. Just ran into this issue earlier. With that said I have never had to clear the browser cache with version < .32 in the past. |
As mentioned by @arraylabs, doing a hard refresh (ctrl + shift + r) will show the appropriate content. When inspecting the responses from HASS in chrome, I can see this header:
I reconfigured my nginx to strip it away and now everything is fresh when I request it. I don't know where the cache is configured in home assistant, but imo it should not include anything under /api. Or event better, make it Edit: Found that https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/http.py#L202-L206 which comes from #3914 |
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
):0.32.2
Python release (
python3 --version
):3.4.2
Component/platform:
dev-info page.
Description of problem:
home-assistant.log is not being displayed on the dev-info page correctly. The contents of the home-assistant.log file is showing the correct content. But after three restarts and full reboot and manually deleting the home-assistant.log file the front end is still displaying log entries from a previous session. The date and time of the log being shown in the front end coincides with the first time I restarted home assistant while running with 32.2.
Expected:
Correct error log should be shown in front end
Problem-relevant
configuration.yaml
entries and steps to reproduce:Contents of home-assistant.log
Error log displayed in front end:
Traceback (if applicable):
Additional info:
The text was updated successfully, but these errors were encountered: