Adding Logging to PMS_Updater.sh

Note: I added the variable LOGGING in case someone wanted to add an option to disable logging.