Giter Club home page Giter Club logo

Comments (6)

quinthar avatar quinthar commented on August 27, 2024

Hm, well we're actively developing on Bedrock so those logs are super helpful. However, I agree that if you're not actively improving Bedrock itself, then they're mostly just noise. I think the solution would be to add a -q "quiet mode" option that reduces verbosity (eg, only showing HMMM, WARN, and ALRT).

from bedrock.

quinthar avatar quinthar commented on August 27, 2024

To do this should be simple:

  1. This line sets the default log level to LOG_INFO
  2. This line sets it to LOG_DEBUG if you provide command line parameter -v for verbose logging
  3. Add an else if (args.isSet("-q")) check that sets LOG_WARN logging level, meaning it will only log warns and above if -q is provided
  4. Add the parameter after this line documenting the new -q parameter

from bedrock.

quinthar avatar quinthar commented on August 27, 2024

FYI, posted an Upwork project here if anybody wants to earn a quick $500: https://www.upwork.com/jobs/~01a73c71734d653add

from bedrock.

willfong avatar willfong commented on August 27, 2024

Is it possible to make the -q option enabled by default in the apt package? That way non-developers won't have to worry about enabling it? Thanks!

from bedrock.

quinthar avatar quinthar commented on August 27, 2024

Thanks @basiliscos I really I appreciate the quick work!

@righdforsa I like the idea of making -q the default for the public repo, but running without it internally. How would you recommend doing that?

Also, @righdforsa, what's the ETA for the next public release, and ideally switching our internal use over to the public apt get repo?

from bedrock.

quinthar avatar quinthar commented on August 27, 2024

-q option added in HEAD; reassigning to @righdforsa until deployed.

from bedrock.

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.