Print the version in the beginning.

This way we have information about the version even if something goes
wrong during the initialization.
This commit is contained in:
Rodolphe Marques 2016-06-15 12:36:03 +02:00
parent 9e00fbc1b0
commit 3cefcfa59b

View File

@ -151,6 +151,7 @@ def run_drop(args):
def run_start(args):
"""Start the processes to run the node"""
logger.info('BigchainDB Version {}'.format(bigchaindb.__version__))
bigchaindb.config_utils.autoconfigure(filename=args.config, force=True)
if args.start_rethinkdb:
@ -170,7 +171,6 @@ def run_start(args):
processes = Processes()
logger.info('Starting BigchainDB main process')
logger.info('BigchainDB Version {}'.format(bigchaindb.__version__))
processes.start()