Re: [master 2/2] introduce loglevel flag and use it in yum's tty3 logging

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/yuminstall.py b/yuminstall.py
> index 7a1f0c5..e7b8387 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py
> @@ -632,6 +632,7 @@ class AnacondaYum(YumSorter):
>          logger.setLevel(yum.logginglevels.INFO_2)
>          logger.addHandler(file_handler)
>          anaconda_log.autoSetLevel(tty3_handler, True)
> +        tty3_handler.setLevel(flags.loglevel)
>          logger.addHandler(tty3_handler)
>  
>          # XXX filelogger is set in setFileLog - do we or user want it?

Can you get the loglevel here by doing something other than introducing
a new flag?

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux