Merge "Print version info at start"
This commit is contained in:
commit
88447598ab
@ -18,6 +18,7 @@ Routines for configuring Neutron
|
||||
"""
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
from oslo.config import cfg
|
||||
from oslo.db import options as db_options
|
||||
@ -163,6 +164,10 @@ def setup_logging():
|
||||
product_name = "neutron"
|
||||
logging.setup(product_name)
|
||||
LOG.info(_LI("Logging enabled!"))
|
||||
LOG.info(_LI("%(prog)s version %(version)s"),
|
||||
{'prog': sys.argv[0],
|
||||
'version': version.version_info.release_string()})
|
||||
LOG.debug("command line: %s" % " ".join(sys.argv))
|
||||
|
||||
|
||||
def load_paste_app(app_name):
|
||||
|
Loading…
x
Reference in New Issue
Block a user