diff --git a/bigchaindb/__init__.py b/bigchaindb/__init__.py index a5ebac7e..414397f6 100644 --- a/bigchaindb/__init__.py +++ b/bigchaindb/__init__.py @@ -2,7 +2,6 @@ import os import copy - def e(key, default=None, conv=None): '''Get the environment variable `key`, fallback to `default` if nothing is found. diff --git a/bigchaindb/processes.py b/bigchaindb/processes.py index 51844d6c..20b8df8d 100644 --- a/bigchaindb/processes.py +++ b/bigchaindb/processes.py @@ -1,4 +1,3 @@ -import copy import logging import multiprocessing as mp @@ -13,6 +12,18 @@ from bigchaindb.web import server logger = logging.getLogger(__name__) +BANNER = """ +**************************************************************************** +* * +* Initialization complete. BigchainDB is ready and waiting for events. * +* You can send events through the API documented at: * +* - http://docs.bigchaindb.apiary.io/ * +* * +* Listening to client connections on: {:<15} * +* * +**************************************************************************** +""" + class Processes(object): @@ -94,5 +105,4 @@ class Processes(object): # start message block.initialized.wait() p_voter.initialized.wait() - logger.info('Initialization complete. BigchainDB ready and waiting for events.') - logger.info('You can send events through the API documented at http://docs.bigchaindb.apiary.io/') + logger.info(BANNER.format(bigchaindb.config['server']['bind']))