commit 80b9d66f91cef5a9c223a3a6d990b3d7ef87115a
parent 6fa79cec1023395810599f8d8fced18b30bb8610
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date: Fri, 8 May 2020 18:16:09 +0100
Print PID to log file on startup
This makes it easier to kill the process. EPS doesn't use much
CPU so it doesnt appear in top very often
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/electrumpersonalserver/server/common.py b/electrumpersonalserver/server/common.py
@@ -348,6 +348,7 @@ def main():
logger.info('Starting Electrum Personal Server ' + str(
SERVER_VERSION_NUMBER))
logger.info('Logging to ' + logfilename)
+ logger.debug("Process ID (PID) = " + str(os.getpid()))
try:
rpc_u = config.get("bitcoin-rpc", "rpc_user")
rpc_p = config.get("bitcoin-rpc", "rpc_password")