I don't know if it matters or not but the Type is AdoNetAppender not ADONetAppender. Do you see a TypeLoadException when you turn on log4net's internal debugging?
----- Original Message ---- From: suedeuno <[EMAIL PROTECTED]> To: log4net-user@logging.apache.org Sent: Tuesday, November 25, 2008 3:05:29 PM Subject: configuration problems, not logging What's missing here? Using profiler, the database never receives the call. web.config: <log4net> <appender name="ADONetAppender" type="log4net.Appender.ADONetAppender"> <bufferSize value="100" /> <connectionType value="System.Data.SqlClient.SqlConnection, System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> <connectionString value="data source=(local)\SQLEXPRESS;initial catalog=MyTestDB;integrated security=false;persist security info=True;User ID=user;Password=pass" /> <commandText value="INSERT INTO Log ([Date],[Thread],[Level],[Logger],[Message],[Exception]) VALUES (@log_date, @thread, @log_level, @logger, @message, @exception)" /> ........ etc <root> <level value="ERROR" /> <appender-ref ref="ADONetAppender" /> </root> <logger name="LogUtility"> <level value="ALL" /> </logger> </log4net> global.asax application_start log4net.Config.XmlConfigurator.Configure(); log wrapper: public class LogUtility : ILogUtility { private ILog log { get; set; } public LogUtility() { log = LogManager.GetLogger("LogUtility"); // LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); } #region ILogUtility Members public void LogException(string message) { log.Error(message); } public void LogException(string message, Exception exception) { log.Error(message, exception); } default.aspx log call: LogUtility.LogException("some error", new Exception()); -- View this message in context: http://www.nabble.com/configuration-problems%2C-not-logging-tp20688643p20688643.html Sent from the Log4net - Users mailing list archive at Nabble.com.