When logging is 'cycled' ensure that we call the logging reset routine first.

This commit is contained in:
Joshua Harlow
2012-06-18 17:28:25 -07:00
parent e17f702dfe
commit 8e43f12b1b

View File

@@ -50,6 +50,7 @@ class Cloud(object):
# it is typically useful to cause the logging to be
# setup again.
def cycle_logging(self):
logging.resetLogging()
logging.setupLogging(self.cfg)
@property