~hudson-openstack/nova/trunk

Viewing all changes in revision 711.

  • Committer: Tarmac
  • Author(s): Vishvananda Ishaya
  • Date: 2011-02-22 09:59:53 UTC
  • mfrom: (706.2.18 log-fix)
  • Revision ID: tarmac-20110222095953-dn9nmyo0ji6g1ate
Fixes various issues regarding verbose logging and logging errors on import.

* Adds a call to logging.reset() after flags are loaded via FLAGS()
* Uses logfile flag to log properly during run_tests
* Only adds handlers to root logger
* Removes the stream handler if logfile is set
* Syslog handler is in addition to logfile or stream handler
* Removed need for logging.basicConfig()

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: