From c9cfeaa7d6bb7b8eda359893003a19a762a01036 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Fri, 15 Mar 2019 15:10:23 +0100 Subject: [PATCH] error and info logs --- home.admin/XXdebugLogs.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/home.admin/XXdebugLogs.sh b/home.admin/XXdebugLogs.sh index 732e3f0..d35ba7e 100644 --- a/home.admin/XXdebugLogs.sh +++ b/home.admin/XXdebugLogs.sh @@ -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 ""