Remove LoggerClass but maintain loglevel= functionality
> 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.
Anaconda-devel-list mailing list