From 602be668ac12efe5e12c0339ca79cd56be3b0102 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Fri, 15 Mar 2019 15:07:47 +0100 Subject: [PATCH] use log files directly --- home.admin/XXdebugLogs.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/home.admin/XXdebugLogs.sh b/home.admin/XXdebugLogs.sh index c494ac26e..732e3f0cf 100644 --- a/home.admin/XXdebugLogs.sh +++ b/home.admin/XXdebugLogs.sh @@ -45,6 +45,7 @@ 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,7 +54,8 @@ sudo systemctl status lnd -n2 --no-pager echo "" echo "*** LAST 20 LND LOGS ***" -sudo journalctl -u lnd -b --no-pager -n20 +sudo journalctl -u lnd -b --no-pager -n5 +sudo tail -n 20 /mnt/hdd/lnd/logs/${network}/${chain}net/lnd.log echo "" if [ "${rtlWebinterface}" = "on" ]; then