logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominik Psenner" <dpsen...@gmail.com>
Subject RE: Log4net NOT working on .net 4.5
Date Wed, 10 Apr 2013 08:29:23 GMT
I'm glad you finally worked it out and I hope you learned something. In the future you should
consult the manuals and check if
you're doing things how it's written down in the manuals. Posting something like "all is setup
correctly (I have used log4net in the
past)" without being sure can cause embarassing reactions. :-)

 

Cheers,

D.

 

  _____  

From: El Tigre [mailto:el_tigre4jc@yahoo.com] 
Sent: Wednesday, April 10, 2013 10:08 AM
To: Log4NET User
Subject: Re: Log4net NOT working on .net 4.5

 


GOT it... had to put the initialize method din the constructor without parameters: 

 

public Form1()

        {

            InitializeComponent();

            XmlConfigurator.Configure();

         }

 

NOw it works! thank you for help!


Mime
View raw message