From 24eab2046f2daaaa1ddb09421949430fa18ba28e Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Mon, 18 Jun 2012 17:28:25 -0700 Subject: When logging is 'cycled' ensure that we call the logging reset routine first. --- cloudinit/cloud.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cloudinit/cloud.py b/cloudinit/cloud.py index a2a5cfdb..90679202 100644 --- a/cloudinit/cloud.py +++ b/cloudinit/cloud.py @@ -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 -- cgit v1.2.3