Log type on recived message