Adding more logs and some updates to the restarter