Update logging.sh