#620 [UX] stop printing debugging information unless requested
Closed: Fixed Opened by karsten.

'mbs-build local' prints tons on debugging output and hides useful info in between.
Please consider adding a '-d' parameter to enable debugging output and hide debugging stuff otherwise.


Isn't this controlled by your LOG_LEVEL?

Metadata Update from @fivaldi:
- Issue assigned to fivaldi

+1

I would suggest extending mbs-manager with global options -d (debug), -v (verbose) and -q (quiet). Similarly, I would add -d to mbs-build, which would then support the same set of options and would be able to pass it to mbs-manager. The problem is in Flask's add_option, which doesn't work for me as expected. I am trying to solve this first.

that proposal looks reasonable, although I'm not sure if we need that many levels of verbosity

Yeah - Maybe just three states controlled by two flags? -d debug for more (DEBUG log level) -q for only errors (the WARNING log level), and the default (the INFO log level)?

See PR#624.

Metadata Update from @fivaldi:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/koji/mbs/issues/620

Please continue any further discussion there.

Metadata