Improve formtting and electrs logging

This commit is contained in:
Taylor Helsper 2019-07-28 16:09:07 -05:00
parent 265ff0b877
commit cd10d5f501
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@ def get_electrs_status():
global electrum_server_current_block global electrum_server_current_block
global eelctrs_active global eelctrs_active
bitcoin_block_height = get_bitcoin_block_height() 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 = log.splitlines()
lines.reverse() lines.reverse()
for line in lines: for line in lines:

View File

@ -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> <div style="width: 150px; margin: auto;"><a class='ui-button ui-widget ui-corner-all mynode_button' href='/settings'>Settings</a></div>
<br/> <br/>
<div class="state_subheader">{{ quicksync_status }}</div> <div class="state_subheader">{{ quicksync_status }}</div>
<br/><br/>
</body> </body>
</html> </html>