Improve formtting and electrs logging
This commit is contained in:
parent
265ff0b877
commit
cd10d5f501
|
@ -32,7 +32,7 @@ def get_electrs_status():
|
|||
global electrum_server_current_block
|
||||
global eelctrs_active
|
||||
bitcoin_block_height = get_bitcoin_block_height()
|
||||
log = subprocess.check_output("tail -n 100 /var/log/electrs.log", shell=True)
|
||||
log = subprocess.check_output("tail -n 100 /var/log/electrs.log /var/log/electrs.log.1", shell=True)
|
||||
lines = log.splitlines()
|
||||
lines.reverse()
|
||||
for line in lines:
|
||||
|
|
|
@ -20,6 +20,7 @@
|
|||
<div style="width: 150px; margin: auto;"><a class='ui-button ui-widget ui-corner-all mynode_button' href='/settings'>Settings</a></div>
|
||||
<br/>
|
||||
<div class="state_subheader">{{ quicksync_status }}</div>
|
||||
<br/><br/>
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user