[rhel6-branch] Increase default logging of yum. (#831777)
Vratislav Podzimek
vpodzime at redhat.com
Fri Nov 13 08:33:39 UTC 2015
On Thu, 2015-11-12 at 15:43 -0500, Samantha N. Bueno wrote:
> Increase the level to DEBUG to provide more information that can help
> customers trying to debug any issues.
>
> Resolves: rhbz#831777
> ---
> yuminstall.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/yuminstall.py b/yuminstall.py
> index da35677..51551ba 100644
> --- a/yuminstall.py
> +++ b/yuminstall.py
> @@ -825,7 +825,7 @@ class AnacondaYum(YumSorter):
>
> logger = logging.getLogger("yum")
> logger.propagate = False
> - logger.setLevel(yum.logginglevels.INFO_2)
> + logger.setLevel(yum.logginglevels.DEBUG_4)
> logger.addHandler(file_handler)
> anaconda_log.autoSetLevel(tty3_handler, True)
> tty3_handler.setLevel(anaconda_log.logger.loglevel)
ACK as long as this doesn't cause any significant performance drop.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list