I\'d like to be able to log message information in a database, and I\'m trying to decide how best to do that. Is it possible to configure the WCF logging mechanisms to write
If you don't need the whole SOAP-message, I would suggest to use log4net with custom IParameterInspector or IDispatchMessageInspector implementation, cause in this case you can write to log only what you need.
Otherwise, take marc_s's solution.