Coder Social home page Coder Social logo

Comments (5)

AshtonStephens avatar AshtonStephens commented on July 17, 2024

Is this ticket consensus release critical for Nakamoto?

from stacks-blockchain.

hstove avatar hstove commented on July 17, 2024

@AshtonStephens nope, it's just to improve signer onboarding

from stacks-blockchain.

hstove avatar hstove commented on July 17, 2024

One small change we could make it to support different log levels. Right now, you can only use either trace, debug, or fatal log levels specified via ENV vars. We could also support warn and error by changing this code:

fn inner_get_loglevel() -> slog::Level {
if env::var("STACKS_LOG_TRACE") == Ok("1".into()) {
slog::Level::Trace
} else if env::var("STACKS_LOG_DEBUG") == Ok("1".into())
|| env::var("BLOCKSTACK_DEBUG") == Ok("1".into())
{
slog::Level::Debug
} else if env::var("STACKS_LOG_CRITONLY") == Ok("1".into()) {
slog::Level::Critical
} else {
slog::Level::Info
}
}

from stacks-blockchain.

AshtonStephens avatar AshtonStephens commented on July 17, 2024

Yeah actually that would be a great fast improvement, I see we have warn! a lot in the code.

from stacks-blockchain.

saralab avatar saralab commented on July 17, 2024

To Do: Convert this to a discussion

from stacks-blockchain.

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.