RE: Error using ADONetAppender

2004-08-11 Thread Ping Xie
Nicko, Thanks a lot for your help. The dll is successfully loaded using the version number and public key token given by .NET Reflector. Since oracle bin directory is in the system path in my machine, it works without copying them to the system32 directory. Thanks again. Ping "Nicko Ca

RE: Error using ADONetAppender

2004-08-11 Thread Nicko Cadell
Looking at the assembly with the file system properties and the sn.exe tool seems to be giving a different set of results to the .NET Reflector. The .NET Reflector (http://www.aisto.com/roeder/dotnet) thinks that the strong name for the assembly is: System.Data.OracleClient, Version=1.0.5000.0, C

RE: Error using ADONetAppender

2004-08-11 Thread Ping Xie
Nicko, Thank you very much for your response. I found out the version number and public key token of System.Data.OracleClient assembly and modified my configuration file. But I still got the same error. System.Data.OracleClient.dll is in C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 directory of

RE: Error using ADONetAppender

2004-08-11 Thread Nicko Cadell
> I'm try to log messages to Oracle database. I got the > following debug errors when run my application. > > -- > - > log4net:ERROR [ADONetAppender] Failed to load connec

RE: Adding custom level

2004-08-11 Thread Nicko Cadell
Henrik, > After adding the new level how can you write to it, for > example if i created level "audit" If you have a logger instance _log then you can write to it using your audiLevel as follows: _log.Logger.Log(this.GetType().FullName, auditLevel, "your message here", null); > i dont have log

RE: Adding custom level

2004-08-11 Thread therealdavidovitz-log4net
  After adding the new level how can you write to it, for example if i created level "audit"   i dont have log4net.Audittrail(...)   Thanks??Nicko Cadell <[EMAIL PROTECTED]> wrote: Henrik,You can create a new Level using the Level(int,string) constructor. Aslong as the level is registered with the