add example for log resource, message attribute