From c2ee6f8d7fb80004b600669e7bd1f974b9107fbe Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 27 Jan 2025 22:50:26 -0500 Subject: [PATCH] Update log realtime log --- log | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/log b/log index 2a3ce9d7..b02da036 100755 --- a/log +++ b/log @@ -11,7 +11,8 @@ elif [ "$1" = "-c" ]; then cat /home/pi/CubeSatSim/logc.txt echo -e "\nCommand and Control Log file also saved as /home/pi/CubeSatSim/logc.txt" else - sudo journalctl -a -u cubesatsim > /home/pi/CubeSatSim/log.txt - cat /home/pi/CubeSatSim/log.txt - echo -e "\nLog file also saved as /home/pi/CubeSatSim/log.txt" +# sudo journalctl -a -u cubesatsim > /home/pi/CubeSatSim/log.txt + sudo journalctl -af -u cubesatsim +# cat /home/pi/CubeSatSim/log.txt +# echo -e "\nLog file also saved as /home/pi/CubeSatSim/log.txt" fi