summaryrefslogtreecommitdiffstats
path: root/bin/stack
diff options
context:
space:
mode:
authorEwan Mellor <ewan.mellor@citrix.com>2011-11-01 11:54:59 -0700
committerEwan Mellor <ewan.mellor@citrix.com>2011-11-01 11:54:59 -0700
commita807c57f5b61cb25a6f5c140a97ed744ab0a70dd (patch)
tree32881d69b6b504c718586c9fb3bc8cbbdc6ff406 /bin/stack
parent71bd02356b41f682c6a196f75e0ed1accc8f5fb6 (diff)
downloadnova-a807c57f5b61cb25a6f5c140a97ed744ab0a70dd.tar.gz
nova-a807c57f5b61cb25a6f5c140a97ed744ab0a70dd.tar.xz
nova-a807c57f5b61cb25a6f5c140a97ed744ab0a70dd.zip
Bug 884863: nova logs everything to syslog twice
Fix double-registration of the syslog handler. NovaRootLogger.setup_from_flags is called twice from log.setup() -- once through NovaRootLogger.__init__ and once through reset(). setup_from_flags wasn't idempotent, so this resulted in the syslog handler being registered twice. Rather than fix the twisty-turny maze that is setup(), I've opted to make setup_from_flags idempotent in this regard, by always unregistering the syslog handler before doing anything else. Change-Id: I59ad61751e1a19d2cbb73dc1deea9c708d4c5032
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions