Removes unnecessary log messages