RE: Multiple logs?

2006-01-02 Thread dh
Objet : Re: Multiple logs? This should help: http://logging.apache.org/log4net/release/manual/configuration.html The settled-upon best practice is that each class gets it's own logger, and then you can configure the settings in each logger in the hierarchy however you like in your config file.

RE: Multiple logs?

2005-12-30 Thread dh
you looked into using a config file to handle configuration? Much easier. On 12/30/05, dh <[EMAIL PROTECTED]> wrote: > Hi all, > > Until now, I used the following code for my log: > > Namespace Test > { > Class Class1 > { > Private static string a

Multiple logs?

2005-12-30 Thread dh
Hi all, Until now, I used the following code for my log: Namespace Test { Class Class1 { Private static string appPath = ""; private static ILog log = LogManager.GetLogger( System.Reflection.MethodBase.GetCurrentMethod().DeclaringType ); private static log4net.