David, Thanks, I've just tried that but it doesn't help! The way I understand it is that your logger can be any name. It is a child of the root logger. My config file defines an appender for the root logger. Therefore my logger should pick up that appender. Let's leave the Db for now. What's the simplest appender I can use just to prove I can get it working? Thanks Michael
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: 13 July 2004 18:16 To: Log4NET User Subject: Re: Log4net new user: error no appender found: what am I doing wrong? Michael, It looks like you're naming your appender "DbAppender" in the config file but using a name of "LoggerTest" in your code. Change your code to log4net.ILog log = log4net.LogManager.GetLogger("DbAppender"); David --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.719 / Virus Database: 475 - Release Date: 12/07/2004
