use default flagfile in nova-api
This commit is contained in:
parent
8b37ae8c29
commit
3368b32338
@ -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)"),
|
||||||
|
Loading…
Reference in New Issue
Block a user