Removing unnecessary log messages, and initial setting