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. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/anaconda-devel-list |
| All times are GMT. The time now is 06:51 AM. |
VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.