Re: Problem logging exceptions

2010-04-29 Thread Yuriy Taraday
>>> >>>> mabra wrote: >>>>> >>>>> >>>>> Hi ! >>>>> >>>>> To me, it looks like, you forgot to create a logger, befor you log >>>>> !?? >>>>> Missing: >>>>> >>>>>

Re: Problem logging exceptions

2010-04-29 Thread ITemplate
>>>> Hi ! >>>> >>>> To me, it looks like, you forgot to create a logger, befor you log >>>> !?? >>>> Missing: >>>> >>>>      ILog log =  log4net.LogManager.GetLogger(typeof(yourType)); >>>> >&

Re: Problem logging exceptions

2010-04-28 Thread Yuriy Taraday
global" variable, which I initilize like shown above. >>> You my call it in "Application_Start(...)" >>> >>> Hope, this helps. >>> >>> br++mabra >>> >>> >>> -Original Message- >

RE: Problem logging exceptions

2010-04-27 Thread ITemplate
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

RE: Problem logging exceptions

2010-04-27 Thread ITemplate
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.

RE: Problem logging exceptions

2010-04-27 Thread mabra
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'

Problem logging exceptions

2010-04-27 Thread Dotnet_user
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