From 31902b443748635c9b413549c9f4f7273f211c54 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Tue, 22 Oct 2019 08:32:13 -0500 Subject: [PATCH] Add bitcoin debug log to log file download --- rootfs/standard/var/www/mynode/settings.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/standard/var/www/mynode/settings.py b/rootfs/standard/var/www/mynode/settings.py index 14c2ec21..b81c44f0 100644 --- a/rootfs/standard/var/www/mynode/settings.py +++ b/rootfs/standard/var/www/mynode/settings.py @@ -342,7 +342,8 @@ def download_logs_page(): os.system("rm -rf /tmp/mynode_info/") os.system("mkdir -p /tmp/mynode_info/") os.system("mynode-get-quicksync-status > /tmp/mynode_info/quicksync_state.txt") - os.system("cp /usr/share/version /tmp/mynode_info/version") + os.system("cp /usr/share/mynode/version /tmp/mynode_info/version") + os.system("cp /mnt/hdd/mynode/bitcoin/debug.log /tmp/mynode_info/bitcoin_debug.log") os.system("tar -czvf /tmp/mynode_logs.tar.gz /var/log/ /tmp/mynode_info/") return send_from_directory(directory="/tmp/", filename="mynode_logs.tar.gz")