Giter Site home page Giter Site logo

Comments (4)

nebulous avatar nebulous commented on September 21, 2024

Feel free to delete them. Infinitude is intentionally a bit log-happy for debugging purposes.

from infinitude.

Darkknight33 avatar Darkknight33 commented on September 21, 2024

Hey, I was just looking at my state directory, I have over 6,000 error files going back about 2 years. I realize I can delete them, but I'm concerned about the quantity of files and that I'm about to move this to something backed by an microsd card instead of a HDD. I'd like to reduce the flash wear & file clutter if possible. Is there a way to reduce the logging, and especially rotate log files?

Edit: Infinitude is producing between 3 & 30+ .dat files a day.

Content mostly looks like the below, plus a read out of current HVAC stats:

error:
mismatched tag at line 1, column 1974, byte 1974 at /usr/lib/x86_64-linux-gnu/perl5/5.28/XML/Parser.pm line 187.
XML::Simple called at ./infinitude line 109.

error:
mismatched tag at line 1, column 2268, byte 2268 at /usr/lib/x86_64-linux-gnu/perl5/5.32/XML/Parser.pm line 187.
XML::Simple called at ./infinitude line 158.

not well-formed (invalid token) at line 1, column 1912, byte 1912 at /usr/lib/x86_64-linux-gnu/perl5/5.28/XML/Parser.pm line 187.
XML::Simple called at ./infinitude line 109.

from infinitude.

nebulous avatar nebulous commented on September 21, 2024

Looks like I have a few of those errors (6 over the last few months) - they look to be invalid/truncated xml files. possibly from broken connections to the Carrier servers, but that would be pretty frequent... 🤔

as for SD card writes - yep I understand the worry, but it can be largely mitigated by using f2fs on your sd card. If you're really concerned about writes you can also mount your state folder as an in-memory filesystem, see tmpfs but that would be lost every reboot without some kind of periodic copying.

from infinitude.

Darkknight33 avatar Darkknight33 commented on September 21, 2024

from infinitude.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.