FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 01-04-2010, 03:12 PM
Chris Lumens
 
Default 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
 

Thread Tools




All times are GMT. The time now is 12:31 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org