Log the message too.