RE: AdoNetAppender Connection String

2008-10-16 Thread Dag Christensen
Shouldn't be a TextWriterAppender there. Can you post your configuration file? Not answering your question but as a workaround you could loop through the list of appenders returned and find the first (or named) instance of AdoNetAppender you're looking for. Regards, Dag From: Gourlay, Colin

AdoNetAppender Connection String

2008-10-16 Thread Gourlay, Colin
Hello. I am trying to retrieve the connection string within my logging.config (a separate file outside the web.config in case that is significant) file. I am using the code below but it seems to use a default(?) logger which is not defined in my config file (a TextWriterAppender). I am wonderi