I had nothing in my configuration and when I inspect the log it is actually more than 50 (rather thousands!) and reality beats documentation by far. Not having anything obviously results in more than 50 log items, no matter what the documentation says. It will fill your SD card no matter what the documentation says.
It must have been very important to you to take the time to comment on a post made 2 years ago. Perhaps that time would be better spent correcting your error-ridden system and/or posting an Issue in the Github Core repo. Good luck.
and you, one may think that after 2 years you would improve your bad manners. 2 years lost, you are worse then ever
No soup for you!
I don’t have a problem with this at the moment as i have 50+ GB of space on my instance. I just wanted to let people finding this (as I did, when searching for things related to ever growing disk usage of Home Assistant) that it is in fact not as in the documentation.
This error log (having a “max_entries” with non-working default) is not my problem, though, as it only takes around 10mb of storage anyway (even though there is 1000+ entries). Something else is eating 100mb/day, and I will not post an issue until I find it.
I did not mean to offend you. Even if the post is 2+ years old it is still the same documentation and it is still not accurate so my post is still relevant today.
If you believe it doesn’t behave as documented, report it as an Issue in Home Assistant’s GitHub Core repository.
If the development team agrees with you, perhaps they will correct it.
I don’t believe; I know. My current setup does not specify a max_entries
and it contains 217 entries.
As I stated previous; I will not post an issue as this is not my main issue. And as this is not my main issue posting additional replies in this tread is likewise not what I will spend more time doing. Have a nice day
It’s not my main issue either (largely because my two systems have never logged so many errors).
I agree that continuing to discuss it here isn’t worthwhile. Only by reporting it as an Issue is it likely to change anything.
Not to interrupt a good argument, but a Hitron Cable modem that was automatically found by UPnP and that I set up because I wanted to see if it had any useful sensors created error after error and eventually crashed Home Assistant by filling the SSD with a 25GB (yes, GB) log file with thousands of instances of the same error message…so clearly there is no auto-limitation to log file size…
You appear to skimmed over VDRainer’s explanation posted over 2 years ago.
No, I read it, but it wasn’t clear that it was the definitive answer based on all the subsequent posts - who knew this would be such an emotional topic.
Indeed; all the focus on database size and overlooking the option’s explanation. Still happening over two years later.
I see the discussion has gone a bit awry, but to answer the OP I believe you can fix the size of the log as I discussed here: