diff --git a/home.admin/XXdebugLogs.sh b/home.admin/XXdebugLogs.sh index 31057c1..3ef74cb 100644 --- a/home.admin/XXdebugLogs.sh +++ b/home.admin/XXdebugLogs.sh @@ -41,6 +41,7 @@ sudo systemctl status ${network}d -n2 --no-pager echo "" echo "*** LAST 5 ERROR LOGS ***" +echo "sudo journalctl -u ${network}d -b --no-pager -n5" sudo journalctl -u ${network}d -b --no-pager -n5 echo "" echo "*** LAST 20 INFO LOGS ***" @@ -48,6 +49,7 @@ pathAdd="" if [ "${chain}" = "test" ]; then pathAdd="/testnet3" fi +echo "sudo tail -n 20 /mnt/hdd/${network}${pathAdd}/debug.log" sudo tail -n 20 /mnt/hdd/${network}${pathAdd}/debug.log echo "" @@ -56,9 +58,11 @@ sudo systemctl status lnd -n2 --no-pager echo "" echo "*** LAST 5 LND ERROR LOGS ***" +echo "sudo journalctl -u lnd -b --no-pager -n5" sudo journalctl -u lnd -b --no-pager -n5 echo "" echo "*** LAST 20 LND INFO LOGS ***" +echo "sudo tail -n 20 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log" sudo tail -n 20 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log echo ""