Adding more logs to cf code