Re: [master 1/2] Remove LoggerClass but maintain loglevel= functionality

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

 



> diff --git a/anaconda b/anaconda
> index 78e5fd1..b87c58a 100755
> --- a/anaconda
> +++ b/anaconda
> @@ -573,7 +573,7 @@ if __name__ == "__main__":
>  
>      # Set up logging as early as possible.
>      import logging
> -    from anaconda_log import logger, logLevelMap
> +    from anaconda_log import logger, logLevelMap, setHandlersLevel
>  
>      log = logging.getLogger("anaconda")
>      stdoutLog = logging.getLogger("anaconda.stdout")

Would it be possible for you to also move all the logging import and
setup to after setupPythonUpdates is called?  Right now you can have an
updated anaconda_log.py but when we switch to having anaconda in
python's site-packages directory, this is no longer going to work.

Otherwise if this is tested, it looks fine to me.

- 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