>>>
>>>> mabra wrote:
>>>>>
>>>>>
>>>>> Hi !
>>>>>
>>>>> To me, it looks like, you forgot to create a logger, befor you log
>>>>> !??
>>>>> Missing:
>>>>>
>>>>>
>>>> Hi !
>>>>
>>>> To me, it looks like, you forgot to create a logger, befor you log
>>>> !??
>>>> Missing:
>>>>
>>>> ILog log = log4net.LogManager.GetLogger(typeof(yourType));
>>>>
>&
global" variable, which I initilize like shown above.
>>> You my call it in "Application_Start(...)"
>>>
>>> Hope, this helps.
>>>
>>> br++mabra
>>>
>>>
>>> -Original Message-
>
call it ether in the constructor or use
>> a "global" variable, which I initilize like shown above.
>> You my call it in "Application_Start(...)"
>>
>> Hope, this helps.
>>
>> br++mabra
>>
>>
>> -Original Message-
>> From: Do
user
>
> }
>
> catch(exception e)
>
> {
>
> log.Info("something happened in create user", e);
>
> }
>
> }
>
> The problem is that the log file is not being created. Can anybody tell me
> what I'm doing wrong here?
>
> Any suggestions/inputs will be very helpful.
>
>
>
> Thank you all in advance.
>
>
> --
> View this message in context:
> http://old.nabble.com/Problem-logging-exceptions-tp28378261p28378261.html
> Sent from the Log4net - Users mailing list archive at Nabble.com.
>
>
>
>
>
--
View this message in context:
http://old.nabble.com/Problem-logging-exceptions-tp28378261p28385296.html
Sent from the Log4net - Users mailing list archive at Nabble.com.
my call it in "Application_Start(...)"
Hope, this helps.
br++mabra
-Original Message-
From: Dotnet_user [mailto:[email protected]]
Sent: Tuesday, April 27, 2010 5:17 PM
To: [email protected]
Subject: Problem logging exceptions
Hello everyone,
I'
ot;something happened in create user", e);
}
}
The problem is that the log file is not being created. Can anybody tell me
what I'm doing wrong here?
Any suggestions/inputs will be very helpful.
Thank you all in advance.
--
View this message in context:
http://old.nabble.com/P