You are developing a Windows Communication Foundation (WCF) service. You establish
that the largest size of valid messages is 8,000 bytes. You notice that many malformed
messages are being transmitted. Detailed information about whether each message is
malformed must be logged. You need to ensure that this information is saved in XML format
so that it can be easily analyzed. What should you add to the service configuration file?
A.
<roessageLogging logEntireMessage=”true” logNalformedMessages=”false”
logMessagesAtServiceLeve1=”true” logMessagesAtTransportLevel=”true”
maxMessagesToLog””1000″/>
B.
<message Logging logEntireMessage=”true” logHalformedMessages””false”
logMessagesAtServiceLevel-“true” logMessagesAtTransportLevel-“true”
maxMessagesToLog=”1000″ maxSizeOfMessageToLog=”8000″/>
C.
<messageLogging logMessagesAtServiceLevel=”true”
logMessagesAtTransportLevels”true” maxMessagesToLog=”1000″
maxSizeOfMessageToLog=”8000″/>
D.
<messageLogging logEnt ireMessage=”true” logHalformedMessages=”true”
logMessagesAtServiceLevel=”true” logMessagesAtTranspoctLevel=”true”
maxMessagesToLog=”1000″ maxSizeOfMessageToLog=”100000″/>