Update keep-running.sh

using logger function to log all details