mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-26 14:34:00 +00:00
Add bitcoin debug log to log file download
This commit is contained in:
parent
a858e22c7a
commit
31902b4437
|
@ -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")
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user