fixed my problem....

log4net.Config.BasicConfigurator.Configure();

should have been:

log4net.Config.DOMConfigurator.Configure();


basically that line loads the .config file.

On 8/3/05, Charles Carroll <[EMAIL PROTECTED]> wrote:
> Log.Info will merely log some info with a level of "info"
> 
> The web.config settings determine if the Log4net "info" entries go to
> Trace.Write, Email addresses, database, XML file, etc.
> 
> The real issue is that Log4net in an attempt to be "well behaved" does
> not blow up your app if you give it a bad config -- since a logger
> blowing up your app would be a side effect  most would be upset about.
> 
> On 8/3/05, Peter Brunone <[EMAIL PROTECTED]> wrote:
> >  Never done anything with Log4Net, but...
> >
> >        Is the Log.Info method supposed to do that, or is there another
> >  command that you need to issue?
> >
> >
> >
> >  -----Original Message-----
> >  From: [email protected] On Behalf Of
> > Charles Carroll
> >
> >  http://www.learnasp.com/freebook/learn/log4net1.aspx
> >
> >  when we run that program it should output to trace.write the Log.Info
> >  statements.
> >
> >
> >
> >
> >
> >
> >  SPONSORED LINKS
> >  Programming languages C programming language Computer programming languages
> >  Java programming language C programming language History of computer
> > programming language
> >
> >  ________________________________
> >  YAHOO! GROUPS LINKS
> >
> >
> >  Visit your group "AspNetAnyQuestionIsOk" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >  ________________________________
> >
>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12h1k3rrl/M=362131.6882499.7825260.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123091142/A=2889191/R=0/SIG=10r90krvo/*http://www.thebeehive.org
">Get Bzzzy! (real tools to help you find a job) Welcome to the Sweet Life 
- brought to you by One Economy</a>.</font>
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to