summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
authorAndrew Bogott <abogott@wikimedia.org>2012-06-28 15:59:23 -0500
committerAndrew Bogott <abogott@wikimedia.org>2012-07-02 15:57:09 -0500
commitd335457f48d09c3d780c92413fe777030c1335e2 (patch)
tree3403e3548f1a374b002470f8c7c399a9e8eed381 /nova/flags.py
parent2038e933bd8bde659e31b4a78e2211a585e3dcec (diff)
downloadnova-d335457f48d09c3d780c92413fe777030c1335e2.tar.gz
nova-d335457f48d09c3d780c92413fe777030c1335e2.tar.xz
nova-d335457f48d09c3d780c92413fe777030c1335e2.zip
Switch to common logging.
I only just moved logging from nova to common, so behavior should remain the same. Change-Id: I1d7304ca200f9d024bb7244d25be2f9a670318fb
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/nova/flags.py b/nova/flags.py
index bb769c4dd..cff3b46ae 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -73,18 +73,6 @@ def _get_my_ip():
return "127.0.0.1"
-log_opts = [
- cfg.StrOpt('logdir',
- default=None,
- help='Log output to a per-service log file in named directory'),
- cfg.StrOpt('logfile',
- default=None,
- help='Log output to a named file'),
- cfg.BoolOpt('use_stderr',
- default=True,
- help='Log output to standard error'),
- ]
-
core_opts = [
cfg.StrOpt('connection_type',
default=None,
@@ -125,7 +113,6 @@ debug_opts = [
help='Add python stack traces to SQL as comment strings'),
]
-FLAGS.register_cli_opts(log_opts)
FLAGS.register_cli_opts(core_opts)
FLAGS.register_cli_opts(debug_opts)
@@ -273,9 +260,6 @@ global_opts = [
cfg.IntOpt('auth_token_ttl',
default=3600,
help='Seconds for auth tokens to linger'),
- cfg.StrOpt('logfile_mode',
- default='0644',
- help='Default file mode used when creating log files'),
cfg.StrOpt('sqlite_db',
default='nova.sqlite',
help='the filename to use with sqlite'),