Update log realtime log

fc-5
Alan Johnston 11 months ago committed by GitHub
parent 656f959fb3
commit c2ee6f8d7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

7
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

Loading…
Cancel
Save

Powered by TurnKey Linux.