diff options
author | Vishvananda Ishaya <vishvananda@gmail.com> | 2011-02-22 09:59:53 +0000 |
---|---|---|
committer | Tarmac <> | 2011-02-22 09:59:53 +0000 |
commit | e18f708135d7a9b0cf465ecc8df1b32252de6705 (patch) | |
tree | bf2513d51bf2b50fbe08efb22b2744086a416d4b /nova/wsgi.py | |
parent | d9f5f817175f8f9ee6554c02e10ddb730f97080d (diff) | |
parent | 11c57867ec18bd61dcc6bde0dc4b459318d54e70 (diff) | |
download | nova-e18f708135d7a9b0cf465ecc8df1b32252de6705.tar.gz nova-e18f708135d7a9b0cf465ecc8df1b32252de6705.tar.xz nova-e18f708135d7a9b0cf465ecc8df1b32252de6705.zip |
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()
Diffstat (limited to 'nova/wsgi.py')
-rw-r--r-- | nova/wsgi.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/nova/wsgi.py b/nova/wsgi.py index e01cc1e1e..280baa80b 100644 --- a/nova/wsgi.py +++ b/nova/wsgi.py @@ -59,7 +59,6 @@ class Server(object): """Server class to manage multiple WSGI sockets and applications.""" def __init__(self, threads=1000): - logging.basicConfig() self.pool = eventlet.GreenPool(threads) def start(self, application, port, host='0.0.0.0', backlog=128): |