Add logging when server crashes and restarts