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=12hpj1ns2/M=362329.6886308.7839368.1510227/D=groups/S=1705006764:TM/Y=YAHOO/EXP=1123090479/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</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/
