Must declare a logger in the exe?

2008-07-01 Thread Daniel Williams
I have a dll that I recently put log4net logging into. It is called by many different executables. So I wanted to find out what is the minimum I must do so that an exe will cause the logging to happen in the dll. Add reference to log4net Add [assembly:log4net.Config.XmlConfigurator(ConfigFile="

AdoNetAppender.ActivateOptions not using correct connection string?

2008-07-10 Thread Daniel Williams
I am using an adonetappender. THe appender is defined an a separate config file, and I use assembly attributes to load it. In my code, early on, I get the appender and set its connection string. But when I call ActivateOptions, I get an error - it seems the appender is trying to use the old, dummy

Re: how to configure a "deny stringmatch filter"

2008-07-20 Thread Daniel Williams
I believe this will work: If not this exactly, then search for acceptOnMatch and see what the right settings are. Cheers, Daniel Williams On Sat, Jul 19, 2008 at 10:55 PM, Alexander Wolff <[EMAIL PROTECTED]> wrote: > the following filter: > > > > >

Re: Conigure log4net for .net dll

2008-08-13 Thread Daniel Williams
in a section like this: This will take the output of log4net and put it into a simple log file. Then you should be able to see just what it is that log4net is getting stuck on. Cheers, Daniel Williams On Wed, Aug 13, 2008 at 3:35 PM, Debashish <[EMAIL PROTEC

Re: IsDebugEnabled = false

2008-08-25 Thread Daniel Williams
s in your app's working folder. There are many examples out on the web. Here is one that will output to the console if you're running the app from there: Cheers, Daniel Williams On Mon, Aug 25, 2008 at 7: