summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
authorSoren Hansen <soren@linux2go.dk>2011-02-16 09:54:54 +0000
committerTarmac <>2011-02-16 09:54:54 +0000
commit17abf5c23f90f15b557131f71657e70e7b5cdef8 (patch)
treec73f7a6aa32ac3b5de4c185d6e50aa63a5afb7b6 /nova/flags.py
parent6c9bb2b8102be4874c24b474649395e9fb2b7580 (diff)
parent9f1c46f5be0520afac21c3320e206ced98acd9ba (diff)
downloadnova-17abf5c23f90f15b557131f71657e70e7b5cdef8.tar.gz
nova-17abf5c23f90f15b557131f71657e70e7b5cdef8.tar.xz
nova-17abf5c23f90f15b557131f71657e70e7b5cdef8.zip
Add back --logdir=DIR option. If set, a logfile named after the binary (e.g. nova-api.log) will be kept in DIR.
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/flags.py b/nova/flags.py
index 3ba3fe6fa..f64a62da9 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -282,6 +282,8 @@ DEFINE_integer('auth_token_ttl', 3600, 'Seconds for auth tokens to linger')
DEFINE_string('state_path', os.path.join(os.path.dirname(__file__), '../'),
"Top-level directory for maintaining nova's state")
+DEFINE_string('logdir', None, 'output to a per-service log file in named '
+ 'directory')
DEFINE_string('sql_connection',
'sqlite:///$state_path/nova.sqlite',