WCF window service using Logging Application Block

Topics: Logging Application Block
Aug 24, 2007 at 9:01 PM
Hi, does anyone able to use the logging application block in WCF window service. I used the Enterprise Library Configuration tool to save the setting in the app.config in the NTService host. THere is no exception happens but there is no log writing to the event viewer. Thank you.
Aug 27, 2007 at 4:26 PM

Can you verify the configuration is accessible? Looking at the result of calling ConfigurationManager.GetSection("loggingConfiguration") should be enough; if it's null then the configuration file is not right.