[PATCH v2 1/2] parsearchive: Fix logging

Stephen Finucane stephen at that.guru
Fri Sep 21 07:00:01 AEST 2018


On Thu, 2018-09-20 at 21:58 +0100, Stephen Finucane wrote:
> We should use a counter normally, avoid using the counter and emit
> logs
> when more detailed output is requested, and emit nothing when no
> output
> is requested.
> 
> In addition, the default logging level for the parser module is set
> to
> 'WARNING' to make it less chatty.
> 
> Signed-off-by: Stephen Finucane <stephen at that.guru>
> ---
> v2:
> - Set 'WARNING' level logging by default for all parsing activities
> - Make more use of loggers rather than stdout

I've rebased a couple of things onto these two patches and am starting
to rely on it locally, so I'm just going to apply both. It's easy to
revert either of the if necessary.

Stephen




More information about the Patchwork mailing list