[yum-cvs] yum cli.py,1.222,1.223

Jeremy Katz katzj at linux.duke.edu
Tue Aug 8 14:06:47 UTC 2006


Update of /home/groups/yum/cvs/yum
In directory login1.linux.duke.edu:/tmp/cvs-serv9659

Modified Files:
	cli.py 
Log Message:
set up logging by default, ensure we have basic logging initialized before 
plugins (jbowes at redhat.com)


Index: cli.py
===================================================================
RCS file: /home/groups/yum/cvs/yum/cli.py,v
retrieving revision 1.222
retrieving revision 1.223
diff -u -r1.222 -r1.223
--- cli.py	11 Jul 2006 18:35:13 -0000	1.222
+++ cli.py	8 Aug 2006 14:06:45 -0000	1.223
@@ -188,18 +188,6 @@
             self.logger.critical(_('Options Error: %s'), e)
             sys.exit(1)
 
-        # who are we:
-        self.conf.uid = os.geteuid()
-
-        # Setup debug and error levels
-        if opts.debuglevel is not None:
-            self.conf.debuglevel = opts.debuglevel
-        if opts.errorlevel is not None:
-            self.conf.errorlevel = opts.errorlevel
-             
-        logginglevels.doLoggingSetup(self.conf.uid, self.conf.logfile,
-            self.conf.errorlevel, self.conf.debuglevel)
-
         # Now parse the command line for real
         (opts, self.cmds) = self.optparser.parse_args()
 




More information about the Yum-cvs-commits mailing list