Giter VIP home page Giter VIP logo

Comments (4)

adelolmo avatar adelolmo commented on June 29, 2024

This idea was already in my radar. I left it out of the last release, but I'm certainly will add it in the next one.

My internal debate was the following:

  • Since the log file is present in the default configuration, hd-idle should be responsible of rotate it.
  • Adding log rotation might brake installations where users do some statistics from the full log file.

So I still have to decide how best introduce rotation. (weekly, monthly, yearly, per size, etc)

from hd-idle.

auanasgheps avatar auanasgheps commented on June 29, 2024

What you mean as "default" configuration? The example in the main page?

I can't remember where the config I posted comes from, but archives logs every week and keeps 4 weeks. It's pretty standard and works really well.

from hd-idle.

adelolmo avatar adelolmo commented on June 29, 2024

What you mean as "default" configuration? The example in the main page?

This is the default log file.

I'll try your example (which is pretty similar to the original hd-idle rotation) and will definitely consider adding it on the next release.

from hd-idle.

auanasgheps avatar auanasgheps commented on June 29, 2024

I guess is the same file, probably that's where I've taken the config file but I could not remember, makes sense now :)

from hd-idle.

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.