Browse Source

more debug info

master
Christian Rotzoll 6 years ago
parent
commit
115702c131
  1. 4
      home.admin/XXdebugLogs.sh

4
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 ""

Loading…
Cancel
Save