Removes unnecessary and non-conforming log statement.