Merge "Print version info at start"

This commit is contained in:
Jenkins 2014-12-08 22:44:19 +00:00 committed by Gerrit Code Review
commit 88447598ab

View File

@ -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):