Re: Log4net NOT working on .net 4.5

2013-04-10 Thread Dominik Psenner
Thanks Andrew and George for your feedback. I expected that log4net works with .NET 4.5 - except for some cases that are covered in the migration article from microsoft. Please post a sample project that does not work and then maybe we are able to trace what's going wrong. 2013/4/9 George Chung

Re: Log4net NOT working on .net 4.5

2013-04-10 Thread El Tigre
Some code: using log4net; using log4net.Config; public partial class Login      {                 private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Login));         UserServices usrsrv = new UserServices();     }  private void Form1_Load(object sender, EventArgs e)  

Re: Log4net NOT working on .net 4.5

2013-04-10 Thread El Tigre
That command is not working on the new 1.2.1.1... I didn't know I have to run such a command.. Can you give an example for my project and my version of log4net?

Re: Log4net NOT working on .net 4.5

2013-04-10 Thread El Tigre
@logging.apache.org; 'El Tigre' el_tigre...@yahoo.com Sent: Wednesday, April 10, 2013 10:24 AM Subject: RE: Log4net NOT working on .net 4.5 http://logging.apache.org/log4net/release/manual/configuration.html   RTFM   PS: no offense meant J   From:El Tigre

RE: Log4net NOT working on .net 4.5

2013-04-10 Thread Dominik Psenner
Did you place that statement outside of any method or constructor? _ From: El Tigre [mailto:el_tigre...@yahoo.com] Sent: Wednesday, April 10, 2013 9:34 AM To: Log4NET User Subject: Re: Log4net NOT working on .net 4.5 with all respect, but I read the manual and the configuration

Re: Log4net NOT working on .net 4.5

2013-04-10 Thread El Tigre
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!

RE: Log4net NOT working on .net 4.5

2013-04-10 Thread Dominik Psenner
embarassing reactions. :-) Cheers, D. _ From: El Tigre [mailto:el_tigre...@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

RE: Log4net NOT working on .net 4.5

2013-04-10 Thread Radovan Raszka
Komu: 'Log4NET User'; 'El Tigre' Předmět: RE: Log4net NOT working on .net 4.5 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

Log4net NOT working on .net 4.5

2013-04-09 Thread El Tigre
I tried to make log4net work in my application with .net 4.5. It doesn't give me an error but I don't see the log file I made all the changes, imported all things but no success...

RE: Log4net NOT working on .net 4.5

2013-04-09 Thread Dominik Psenner
to trace what's going on. All those steps should be covered in the FAQ section on the website. Cheers, D. _ From: El Tigre [mailto:el_tigre...@yahoo.com] Sent: Tuesday, April 09, 2013 12:24 PM To: log4net-user@logging.apache.org Subject: Log4net NOT working on .net 4.5 I tried

RE: Log4net NOT working on .net 4.5

2013-04-09 Thread Dominik Psenner
: Tuesday, April 09, 2013 1:35 PM To: 'Log4NET User'; 'El Tigre' Subject: RE: Log4net NOT working on .net 4.5 Hi, You provide not enough information so that someone could help you finding out what's wrong. If you referenced the log4net DLL, configured the appenders properly and are writing

Re: Log4net NOT working on .net 4.5

2013-04-09 Thread El Tigre
I know it's not officially supported...   This is from internal logging:     log4net: log4net assembly [log4net, Version=1.2.11.0, Culture=neutral, PublicKeyToken=669e0ddf0bb1aa2a]. Loaded from [c:\Users\El Tigre\Documents\Visual Studio

Re: Log4net NOT working on .net 4.5

2013-04-09 Thread El Tigre
All is setup correctly (I have used log4net in the past) but is not working for my project with .net 4.5 And I must use .net 4.5

Re: Log4net NOT working on .net 4.5

2013-04-09 Thread Andrew Arnott
I use log4net with .NET 4.5 all the time without problem. The most common cause for no log file that I've heard of is that you build against one version of log4net and run against a different one, or have the wrong bindingRedirects in your .config file. -- Andrew Arnott I [may] not agree with