Skip to content
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

Large log file size prevents graph populating #258

Open
FermentHorizon opened this issue Aug 7, 2020 · 3 comments
Open

Large log file size prevents graph populating #258

FermentHorizon opened this issue Aug 7, 2020 · 3 comments

Comments

@FermentHorizon
Copy link

I'm having an issue where after a week or so, the graph stops populating.
Speaking to others suggested it was a log file size issue and as soon as I deleted my log and created a new one, the graph populated again straight away.
Screen Shot 2020-08-07 at 9 00 37 pm

@allthepies
Copy link

I commented on the Facebook group thread about this issue;

When I had a similar problem I found that the logfile size was getting to the point where the UI Javascript was timing out accessing the logfile (could see this in chrome developer tools). I no longer use logging due to this.

I did wonder if a clever algorithm could be used to reduce the logfile size when being accessed for UI purposes but didn't explore further.

@vitotai
Copy link
Owner

vitotai commented Aug 8, 2020

I knew it would happen. I had this issue from the very beginning when testing HTML/JS files of 100k+ size.
Formatting SPIFFS every few brews to keep SPIFFS in good shape would help. However, LittleFS is the way to go.

esp8266/Arduino#7263

@lbussy
Copy link

lbussy commented Aug 8, 2020

I moved to LittleFS for Brew Bubbles and the documentation to change the words took longer than the code changes. Unless you are doing something Uber-esoteric, it should be a handful of changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants