We are using WPF6.1.5 and make lots of Web Service Calls using the Web Service Call Builder (in service provider models). We find it useful to log all requests sent and responses received (and these appear in the serviceCalls.txt log file) however we find that this logging always duplicates the requests and responses 3 times (each with the same or very similiar data).
We would like to be able to control this so that only one log is made for each request and response as the log files fill up (and turn over) very rapidly and this makes it difficult to locate errors especially if they are not reported for many hours afterwards. Is this possible with any builder options? - the other Logging options "all", "none" or "envelops only" are not acceptable - see below for the current log4j.properties we have in use...
# -------------- The ServiceCalls appender sends its output to serviceCalls.txt --------------
#Don't truncate the logging file if it already exists.
log4j.appender.ServiceCalls.layout.ConversionPattern=*-- TIME: [%d] --* %nCategory: %c%nPriority: %p%nThread: %t%nMsg: %m%n%n%n