Adjust logo slightly and add debug state

This commit is contained in:
Joshua Boniface 2021-07-02 02:32:08 -04:00
parent e94f5354e6
commit f12de6727d
2 changed files with 10 additions and 8 deletions

View File

@ -119,13 +119,14 @@ def entrypoint():
print('') print('')
print('|----------------------------------------------------------|') print('|----------------------------------------------------------|')
print('| |') print('| |')
print('| ███████████ ██▙ ▟██ █████ █ █ █ |') print('| ███████████ ▜█▙ ▟█▛ █████ █ █ █ |')
print('| ██ ██▙ ▟██ ██ |') print('| ██ ▜█▙ ▟█▛ ██ |')
print('| ███████████ ██▙ ▟██ ██ |') print('| ███████████ ▜█▙ ▟█▛ ██ |')
print('| ██ ██▙▟██ ███████████ |') print('| ██ ▜█▙▟█▛ ███████████ |')
print('| |') print('| |')
print('|----------------------------------------------------------|') print('|----------------------------------------------------------|')
print('| Parallel Virtual Cluster API daemon v{0: <19} |'.format(version)) print('| Parallel Virtual Cluster API daemon v{0: <19} |'.format(version))
print('| Debug: {0: <49} |'.format(str(config['debug'])))
print('| API version: v{0: <42} |'.format(API_VERSION)) print('| API version: v{0: <42} |'.format(API_VERSION))
print('| Listen: {0: <48} |'.format('{}:{}'.format(config['listen_address'], config['listen_port']))) print('| Listen: {0: <48} |'.format('{}:{}'.format(config['listen_address'], config['listen_port'])))
print('| SSL: {0: <51} |'.format(str(config['ssl_enabled']))) print('| SSL: {0: <51} |'.format(str(config['ssl_enabled'])))

View File

@ -345,13 +345,14 @@ logger = log.Logger(config)
logger.out('') logger.out('')
logger.out('|----------------------------------------------------------|') logger.out('|----------------------------------------------------------|')
logger.out('| |') logger.out('| |')
logger.out('| ███████████ ██▙ ▟██ █████ █ █ █ |') logger.out('| ███████████ ▜█▙ ▟█▛ █████ █ █ █ |')
logger.out('| ██ ██▙ ▟██ ██ |') logger.out('| ██ ▜█▙ ▟█▛ ██ |')
logger.out('| ███████████ ██▙ ▟██ ██ |') logger.out('| ███████████ ▜█▙ ▟█▛ ██ |')
logger.out('| ██ ██▙▟██ ███████████ |') logger.out('| ██ ▜█▙▟█▛ ███████████ |')
logger.out('| |') logger.out('| |')
logger.out('|----------------------------------------------------------|') logger.out('|----------------------------------------------------------|')
logger.out('| Parallel Virtual Cluster node daemon v{0: <18} |'.format(version)) logger.out('| Parallel Virtual Cluster node daemon v{0: <18} |'.format(version))
logger.out('| Debug: {0: <49} |'.format(str(config['debug'])))
logger.out('| FQDN: {0: <50} |'.format(myfqdn)) logger.out('| FQDN: {0: <50} |'.format(myfqdn))
logger.out('| Host: {0: <50} |'.format(myhostname)) logger.out('| Host: {0: <50} |'.format(myhostname))
logger.out('| ID: {0: <52} |'.format(mynodeid)) logger.out('| ID: {0: <52} |'.format(mynodeid))