debug output by default is too spammy

Bug #928522 reported by Paul Larson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Tool
Fix Released
Wishlist
Zygmunt Krynicki
Obsolete LAVA Test
Fix Released
Low
Le Chi Thu

Bug Description

We should not be spitting out debug output by default. Please add a debug flag or something like that, and only put this output in when requested.

Related branches

Paul Larson (pwlars)
Changed in lava-test:
assignee: nobody → Le Chi Thu (le-chi-thu)
importance: Undecided → Low
milestone: none → 2012.02
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

I've somewhat fixed that in lava-too. I need to publish that branch. My branch allows you to setup debugging/verbose mode from command line. That propagates sensibly to individual Commands.

Changed in lava-tool:
importance: Undecided → Wishlist
status: New → In Progress
assignee: nobody → Zygmunt Krynicki (zkrynicki)
milestone: none → 2012.02
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

ChiThu, make sure that lava-test uses logging.info() for stuff that you want do display when running with --verbose flag and logging.debug() for the stuff you want to see while debugging. For debugging make sure you use logging.getLogger("some-fancy-name") to get a logger instance and log via that instance. I've added code for lava-tool to turn on an arbitrary list of debugging loggers.

Revision history for this message
Le Chi Thu (le-chi-thu) wrote : Re: [Bug 928522] Re: debug output by default is too spammy

ok

/Chi Thu

On 7 February 2012 15:14, Zygmunt Krynicki
<email address hidden> wrote:
> ChiThu, make sure that lava-test uses logging.info() for stuff that you
> want do display when running with --verbose flag and logging.debug() for
> the stuff you want to see while debugging. For debugging make sure you
> use logging.getLogger("some-fancy-name") to get a logger instance and
> log via that instance. I've added code for lava-tool to turn on an
> arbitrary list of debugging loggers.
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/928522
>
> Title:
>  debug output by default is too spammy
>
> Status in LAVA Automated Testing Framework:
>  New
> Status in LAVA Command-line Tool:
>  In Progress
>
> Bug description:
>  We should not be spitting out debug output by default.  Please add a
>  debug flag or something like that, and only put this output in when
>  requested.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/lava-test/+bug/928522/+subscriptions

Fathi Boudra (fboudra)
Changed in lava-test:
status: New → Fix Released
Fathi Boudra (fboudra)
Changed in lava-tool:
milestone: 2012.02 → 2012.03
Zygmunt Krynicki (zyga)
Changed in lava-tool:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.