Removing unnecessary log messages