mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Fix banner
This commit is contained in:
parent
0f212ea113
commit
fcb87b3c9b
@ -2,7 +2,6 @@ import os
|
|||||||
import copy
|
import copy
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
def e(key, default=None, conv=None):
|
def e(key, default=None, conv=None):
|
||||||
'''Get the environment variable `key`, fallback to `default`
|
'''Get the environment variable `key`, fallback to `default`
|
||||||
if nothing is found.
|
if nothing is found.
|
||||||
|
@ -1,4 +1,3 @@
|
|||||||
import copy
|
|
||||||
import logging
|
import logging
|
||||||
import multiprocessing as mp
|
import multiprocessing as mp
|
||||||
|
|
||||||
@ -13,6 +12,18 @@ from bigchaindb.web import server
|
|||||||
|
|
||||||
logger = logging.getLogger(__name__)
|
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):
|
class Processes(object):
|
||||||
|
|
||||||
@ -94,5 +105,4 @@ class Processes(object):
|
|||||||
# start message
|
# start message
|
||||||
block.initialized.wait()
|
block.initialized.wait()
|
||||||
p_voter.initialized.wait()
|
p_voter.initialized.wait()
|
||||||
logger.info('Initialization complete. BigchainDB ready and waiting for events.')
|
logger.info(BANNER.format(bigchaindb.config['server']['bind']))
|
||||||
logger.info('You can send events through the API documented at http://docs.bigchaindb.apiary.io/')
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user