Removing logs and fix the lifecycle