MT#7527 fix the attribute vs profile Id confusion in log