Skip to content

Commit

Permalink
added -a to avoid [blob data] in log
Browse files Browse the repository at this point in the history
  • Loading branch information
alanbjohnston authored Jun 21, 2021
1 parent f6bf8dd commit 927b49b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions log
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
echo -e "\nLog file script for CubeSatSim\n"

if [ "$1" = "-r" ]; then
sudo journalctl -u rpitx > logr.txt
sudo journalctl -a -u rpitx > logr.txt
cat logr.txt
echo -e "\nLog file also saved as /home/pi/CubeSatSim/logr.txt"
else
sudo journalctl -u cubesatsim > log.txt
sudo journalctl -a -u cubesatsim > log.txt
cat log.txt
echo -e "\nLog file also saved as /home/pi/CubeSatSim/log.txt"
fi

0 comments on commit 927b49b

Please sign in to comment.