Giter Club home page Giter Club logo

Comments (4)

lacabra avatar lacabra commented on June 20, 2024

I have been thinking this more thoroughly, and I would like to amend my request as follows:

  • Include the output of deploy and computations in verbosity level 1: -v without the output bytecode. This is the most useful output for debugging purposes most of the time.
  • Leave verbosity level 2: -vv as is.

The rationale is that the rest of stuff that is logged on level 2, clutters the CI and is not that useful when I only need to know whether deploy/computation succeeds, so I would only like to see that in level 1 for the CI, and when I run it manually I can choose level 2 and see everything that I'm seeing now.

from enigma-core.

moriaab avatar moriaab commented on June 20, 2024

@lacabra

  1. In this issue, do you mean stdout logs only?
  2. As far as I understand, you want that there will be:
    • some verbosity level L that includes output of deploy and computations without bytecode
    • the next verbosity level L+1 that includes output of deploy and computations with bytecode
  3. I agree with the request, but I am not sure that L should be -v. In core the levels of the debug are compatible with the Rust log package and defined as follows:
    0 - off,
    1 - error,
    2 - warn,
    3 - info,
    4 - debug,
    5 and more - trace
    In addition, in core the log level of stdout is the level defined by a user+1 (the reason for that was that even with no verbose, errors will be printed to stdout). Therefore, -vmeans warn level. I think that L level should be at least info.

from enigma-core.

moriaab avatar moriaab commented on June 20, 2024

@lacabra
I merged the change. Please see if the issue can be closed.

from enigma-core.

lacabra avatar lacabra commented on June 20, 2024

I confirm that this has been resolved in #179. Thank you!

from enigma-core.

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.