tag:blogger.com,1999:blog-11096258.post1261929488787266643..comments2024-03-29T08:27:22.709+01:00Comments on InfoWorker Solutions: WCF: Exception Handling with LoggingKjell-Sverre Jerijærvihttp://www.blogger.com/profile/13654217591841196465noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-11096258.post-19619416970566902422007-05-09T12:05:00.000+02:002007-05-09T12:05:00.000+02:00In addition to the WCF+entlib3 validation and exce...In addition to the WCF+entlib3 validation and exception posts at Guy Burstein's blog (also at CodeProject), this info from David Hayden's blog about logging should get you started:<BR/><BR/>*A new EntLibLoggingProxyTraceListener class. This trace listener is designed to be used in WCF’s System.ServiceModel trace source, which is configured within the <system.diagnostics> section. This trace listener receives WCF messages logged to this trace source, wraps them in an XmlLogEntry class, and forwarda them to the Logging Application Block where it can be processed according to the application block configuration.<BR/><BR/>*A new XmlLogEntry class, which derives from LogEntry but includes a new Xml property that preserves the original XML data provided by WCF.<BR/><BR/>*A new XmlTraceListener class, which derives from the .NET XmlWriterTextWriter class. This class can extract XML data from an XmlLogEntry class and write this data to an XML text file. The output of this trace listener can be used with the WCF log file analysis tools.Kjell-Sverre Jerijærvihttps://www.blogger.com/profile/13654217591841196465noreply@blogger.comtag:blogger.com,1999:blog-11096258.post-49838860491098577132007-05-08T21:13:00.000+02:002007-05-08T21:13:00.000+02:00Looking forward to reading about integration of WC...Looking forward to reading about integration of WCF and entlib3Anonymousnoreply@blogger.com