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.
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
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.