Author: justi9
Date: 2008-10-02 10:36:02 -0400 (Thu, 02 Oct 2008)
New Revision: 2577
Modified:
mgmt/trunk/cumin/python/cumin/__init__.py
Log:
Fix reference to logger
Modified: mgmt/trunk/cumin/python/cumin/__init__.py
===================================================================
--- mgmt/trunk/cumin/python/cumin/__init__.py 2008-10-02 12:45:59 UTC (rev 2576)
+++ mgmt/trunk/cumin/python/cumin/__init__.py 2008-10-02 14:36:02 UTC (rev 2577)
@@ -226,8 +226,7 @@
log.addHandler(handler)
mlog.addHandler(handler)
except IOError, e:
- clog.warn("Can't write to log file '%s': %s" % \
- (self.log_file, e))
+ log.warn("Can't write to log file '%s': %s" %
(self.log_file, e))
if self.debug:
level = logging.DEBUG