Added more log messages when a restart happens