use default flagfile in nova-api

This commit is contained in:
Vishvananda Ishaya 2011-02-25 12:16:58 -08:00
parent 8b37ae8c29
commit 3368b32338

View File

@ -36,6 +36,7 @@ gettext.install('nova', unicode=1)
from nova import flags from nova import flags
from nova import log as logging from nova import log as logging
from nova import utils
from nova import version from nova import version
from nova import wsgi from nova import wsgi
@ -80,6 +81,7 @@ def run_app(paste_config_file):
if __name__ == '__main__': if __name__ == '__main__':
utils.default_flagfile()
FLAGS(sys.argv) FLAGS(sys.argv)
logging.setup() logging.setup()
LOG.audit(_("Starting nova-api node (version %s)"), LOG.audit(_("Starting nova-api node (version %s)"),