Am Freitag, den 04.06.2021, 10:55 -0700 schrieb Vagrant Cascadian:
> On 2021-06-04, Benjamin Drung wrote:
> > On Thu, 03 Jun 2021 16:01:46 -0700 Vagrant Cascadian <vagr...@debian.org> 
> > wrote:
> > > While I can see value in increased verbosity in some situations, it
> > > would be nice to be able to get mmdebstrap's simple and minimal progress
> > > bar output while still using bdebstrap for the configuration and other
> > > features it provides.
> > > 
> > > Simply removing the "-v" argument in /usr/bin/bdebstrap appears to work
> > > fine, though obviously people who want the increased verbosity will need
> > > to add it back somehow.
> > 
> > I thought about it. bdebstrap produces some log messages as well. Do
> > you want to tweak the verbosity of mmdebstrap and bdebstrap separately?
> > 
> > One simple change would be to couple the verbosity of bdebstrap and
> > mmdebstrap:
> > 
> > * normal mode: uses info level and pass -v to mmdebstrap
> > * --debug: uses debug level and pass -v to mmdebstrap
> > * --quiet: use warning level and don't pass -v to mmdebstrap
> > 
> > I have implemented that in the quiet branch for testing it:
> > https://github.com/bdrung/bdebstrap/tree/quiet
> > 
> > What do you think?
> 
> Works for me!
> 
> The only thing is I'm not sure if someone *might* want a --silent
> option, but that's not currently me. :)

--silent as alias for --quiet?

I just had a look at the man page of mmdebstrap. It has a
--quiet/--silent option as well. Is it better to align the log level of
bdebstrap with mmdebstrap? So add the same option to bdebstrap than
mmdebstrap and just pass it down?

-- 
Benjamin Drung
Debian & Ubuntu Developer

Reply via email to