commit a1acc2e21c0f494a0d68f86233852abb54103edb
parent 59b720c18f7407633ba7d8f731cf0d0305f9a78a
Author: chris-belcher <belcher@riseup.net>
Date: Sat, 11 Jan 2020 13:47:29 +0000
Merge pull request #173 from m-schmoock/feat/startup_show_version
Also log server version on startup
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py
@@ -369,7 +369,8 @@ def main():
return
logger = logging.getLogger('ELECTRUMPERSONALSERVER')
logger, logfilename = logger_config(logger, config)
- logger.info('Starting Electrum Personal Server')
+ logger.info('Starting Electrum Personal Server v{}'.format(
+ SERVER_VERSION_NUMBER))
logger.info('Logging to ' + logfilename)
try:
rpc_u = config.get("bitcoin-rpc", "rpc_user")