electrum-personal-server

Maximally lightweight electrum server for a single user
git clone https://git.parazyd.org/electrum-personal-server
Log | Files | Refs | README

commit 5f7c503bde0393269ac6863f93ace1882336db76
parent b57e130024b51ed4cbc0eee9982afd1a57644c41
Author: chris-belcher <chris-belcher@users.noreply.github.com>
Date:   Thu, 14 Jun 2018 01:38:48 +0100

Make debug message timestamps include the date

This is helpful when looking at the logs of a long-running server instance

Diffstat:
Mserver.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server.py b/server.py @@ -44,7 +44,7 @@ debug_fd = None #log for checking up/seeing your wallet, debug for when something has gone wrong def debugorlog(line, ttype): - timestamp = datetime.datetime.now().strftime("%H:%M:%S,%f") + timestamp = datetime.datetime.now().strftime("%Y-%m-%d %H:%M:%S,%f") return timestamp + " [" + ttype + "] " + line def debug(line):