Re-Added logging to git handler. Logging should now be safe in restart script