Well, thank God I was here :)
At least maybe I got you to look at the correct spot again...
And now I know slightly more than absolutely nothing about log4net from
my time reading their config documentation.
-----Original Message-----
From: [email protected] On Behalf Of Charles Carroll
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 Links
------------------------ Yahoo! Groups Sponsor --------------------~-->
<font face=arial size=-1><a
href="http://us.ard.yahoo.com/SIG=12h5kclfu/M=362335.6886445.7839731.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123091588/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/">In
low income neighborhoods, 84% do not own computers. At Network for Good, help
bridge the Digital Divide!</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/