diff options
author | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-18 17:28:25 -0700 |
---|---|---|
committer | Joshua Harlow <harlowja@yahoo-inc.com> | 2012-06-18 17:28:25 -0700 |
commit | 24eab2046f2daaaa1ddb09421949430fa18ba28e (patch) | |
tree | 90cbcdee7915764a2b82cec09e1dc90060b9b5e6 /cloudinit/cloud.py | |
parent | 5e0bf173c870f0f732d68d9db338f40d1d0a6a5a (diff) | |
download | vyos-cloud-init-24eab2046f2daaaa1ddb09421949430fa18ba28e.tar.gz vyos-cloud-init-24eab2046f2daaaa1ddb09421949430fa18ba28e.zip |
When logging is 'cycled' ensure that we call the logging reset routine first.
Diffstat (limited to 'cloudinit/cloud.py')
-rw-r--r-- | cloudinit/cloud.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |