From aaf61bddfbbe30e1d72cced1b3b06b6824f60214 Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Wed, 16 Feb 2022 18:18:16 -0500 Subject: [PATCH] Added logging. --- audiogame-manager.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/audiogame-manager.sh b/audiogame-manager.sh index ff5d0ce..bfc8a39 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -833,6 +833,10 @@ unset noCache # Manual installation is not default, make sure it's unset unset manualInstall +# Set up logging +echo -e "\n\n-----> Logging started at $(date '+%A, %B %d, %Y at %I:%M%p')\n" >> "${cache}/audiogame-manager.log" +exec &> >(/usr/bin/tee -a "${cache}/audiogame-manager.log") + # The list of games available for installation. # Use menu friendly names. gameList=(