|
|
@ -40,12 +40,13 @@ echo "*** CHAINNETWORK SYSTEMD STATUS ***" |
|
|
|
sudo systemctl status ${network}d -n2 --no-pager |
|
|
|
echo "" |
|
|
|
|
|
|
|
echo "*** LAST 20 CHAINNETWORK LOGS ***" |
|
|
|
echo "*** LAST 5 ERROR LOGS ***" |
|
|
|
sudo journalctl -u ${network}d -b --no-pager -n5 |
|
|
|
echo "*** LAST 20 INFO LOGS ***" |
|
|
|
pathAdd="" |
|
|
|
if [ "${chain}" = "test" ]; then |
|
|
|
pathAdd="/testnet3" |
|
|
|
fi |
|
|
|
sudo journalctl -u ${network}d -b --no-pager -n5 |
|
|
|
sudo tail -n 20 /mnt/hdd/${network}${pathAdd}/debug.log |
|
|
|
echo "" |
|
|
|
|
|
|
@ -53,8 +54,9 @@ echo "*** LND SYSTEMD STATUS ***" |
|
|
|
sudo systemctl status lnd -n2 --no-pager |
|
|
|
echo "" |
|
|
|
|
|
|
|
echo "*** LAST 20 LND LOGS ***" |
|
|
|
echo "*** LAST 5 LND ERROR LOGS ***" |
|
|
|
sudo journalctl -u lnd -b --no-pager -n5 |
|
|
|
echo "*** LAST 20 LND INFO LOGS ***" |
|
|
|
sudo tail -n 20 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log |
|
|
|
echo "" |
|
|
|
|
|
|
|