You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-user@logging.apache.org by El Tigre <el...@yahoo.com> on 2013/04/09 12:23:42 UTC

Log4net NOT working on .net 4.5

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

Posted by Radovan Raszka <ra...@hasam.cz>.
Didn't you forget to call XmlConfigurator.Configure() or another initialization command? Just to be sure....

Radovan Raszka

________________________________
Od: El Tigre [mailto:el_tigre4jc@yahoo.com]
Odesláno: 10. dubna 2013 9:04
Komu: Log4NET User
Předmět: Re: Log4net NOT working on .net 4.5

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)
        {
            log.Info("Start program");
            this.CenterToScreen();
}

APP.CONFIG

<?xml version="1.0"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
  </configSections>
  <log4net>
    <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
      <param name="File" value="logAdminRetele.txt"/>
      <lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
      <appendToFile value="true"/>
      <rollingStyle value="Size"/>
      <maxSizeRollBackups value="2"/>
      <maximumFileSize value="10MB"/>
      <staticLogFileName value="true"/>
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="%-5p%d{dd-MM-yyyy HH:mm:ss} - %m%n"/>
      </layout>
    </appender>
    <root>
      <level value="ALL"/>
      <appender-ref ref="LogFileAppender"/>
    </root>
  </log4net>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  </startup>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0"/>
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
  <connectionStrings>
    <add name="networkingEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=localhost;user id=root;password=lucian;persist security info=True;database=networking&quot;" providerName="System.Data.EntityClient"/>
  </connectionStrings>
</configuration>

And the version installed is 1.2.1.1 (latest)

RE: Log4net NOT working on .net 4.5

Posted by Radovan Raszka <ra...@hasam.cz>.
Generally it is good idea to configure logging system as early as possible to avoid such problem. Good place is Main() method of the class which starts the whole application.
Radovan

________________________________
Od: Dominik Psenner [mailto:dpsenner@gmail.com]
Odesláno: 10. dubna 2013 10:29
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 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!

RE: Log4net NOT working on .net 4.5

Posted by Dominik Psenner <dp...@gmail.com>.
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!


Re: Log4net NOT working on .net 4.5

Posted by El Tigre <el...@yahoo.com>.
>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

Posted by Dominik Psenner <dp...@gmail.com>.
It's hard to answer this without sounding rude. However, log4net cannot convince your compiler to accept method statements where
only types are allowed. Please read your way through your favorite C# tutorial. The one provided by the inventors of C# is located
here:

 

http://msdn.microsoft.com/en-us/library/aa288463(v=vs.71).aspx

 

Good luck!

 

  _____  

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

 

yes, it's right after this:

 

public partial class Login : MetroForm

    {

       

        private static readonly log4net.ILog log = log4net.LogManager.GetLogger(typeof(Login));

       BasicConfigurator.Configure();

-> 'log4net.Config.BasicConfigurator.Configure(log4net.Repository.lLoggerRepository, params log4net.Appender.lAppender[])' is a
'method' but is used like a 'type'


  _____  


From: Dominik Psenner <dp...@gmail.com>
To: 'Log4NET User' <lo...@logging.apache.org>; 'El Tigre' <el...@yahoo.com> 
Sent: Wednesday, April 10, 2013 10:39 AM
Subject: RE: Log4net NOT working on .net 4.5

 

Did you place that statement outside of any method or constructor?

 


  _____  


From: El Tigre [mailto:el_tigre4jc@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 settings

 

BasicConfigurator.Configure(); it gives me and error saying "...It's a method but is used like a type"

 

El TigreT C


  _____  


From: Dominik Psenner <dp...@gmail.com>
To: 'Log4NET User' <lo...@logging.apache.org>; 'El Tigre' <el...@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 :-)

 


  _____  


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

 

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

Posted by Dominik Psenner <dp...@gmail.com>.
Did you place that statement outside of any method or constructor?

 

  _____  

From: El Tigre [mailto:el_tigre4jc@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 settings

 

BasicConfigurator.Configure(); it gives me and error saying "...It's a method but is used like a type"

 

El TigreT C

  _____  

From: Dominik Psenner <dp...@gmail.com>
To: 'Log4NET User' <lo...@logging.apache.org>; 'El Tigre' <el...@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 :-)

 

  _____  

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

 

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

Posted by El Tigre <el...@yahoo.com>.
with all respect, but I read the manual and the configuration settings

BasicConfigurator.Configure(); it gives me and error saying "...It's a method but is used like a type"
 
El Tigre™ ©


>________________________________
> From: Dominik Psenner <dp...@gmail.com>
>To: 'Log4NET User' <lo...@logging.apache.org>; 'El Tigre' <el...@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
[mailto:el_tigre4jc@yahoo.com] 
>Sent: Wednesday, April 10, 2013
9:19 AM
>To: Log4NET User
>Subject: Re: Log4net NOT working
on .net 4.5
> 
>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

Posted by Dominik Psenner <dp...@gmail.com>.
http://logging.apache.org/log4net/release/manual/configuration.html

 

RTFM

 

PS: no offense meant :-)

 

  _____  

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

 

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

Posted by El Tigre <el...@yahoo.com>.
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

Posted by El Tigre <el...@yahoo.com>.
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)
        {
           log.Info("Start program");
            this.CenterToScreen();
}

APP.CONFIG

<?xml version="1.0"?>
<configuration>
  <configSections>
    <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=5.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
  </configSections>
  <log4net>
    <appender name="LogFileAppender" type="log4net.Appender.RollingFileAppender">
      <param name="File" value="logAdminRetele.txt"/>
      <lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
      <appendToFile value="true"/>
      <rollingStyle value="Size"/>
      <maxSizeRollBackups value="2"/>
      <maximumFileSize value="10MB"/>
      <staticLogFileName value="true"/>
      <layout type="log4net.Layout.PatternLayout">
        <param name="ConversionPattern" value="%-5p%d{dd-MM-yyyy HH:mm:ss} – %m%n"/>
      </layout>
    </appender>
    <root>
      <level value="ALL"/>
      <appender-ref ref="LogFileAppender"/>
    </root>
  </log4net>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/>
  </startup>
  <entityFramework>
    <defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework">
      <parameters>
        <parameter value="v11.0"/>
      </parameters>
    </defaultConnectionFactory>
  </entityFramework>
  <connectionStrings>
    <add name="networkingEntities" connectionString="metadata=res://*/Model1.csdl|res://*/Model1.ssdl|res://*/Model1.msl;provider=MySql.Data.MySqlClient;provider connection string=&quot;server=localhost;user id=root;password=lucian;persist security info=True;database=networking&quot;" providerName="System.Data.EntityClient"/>
  </connectionStrings>
</configuration>

And the version installed is 1.2.1.1 (latest) 

Re: Log4net NOT working on .net 4.5

Posted by Dominik Psenner <dp...@gmail.com>.
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 <ge...@glympse.com>

> I use log4net with .NET 4.5 all the time without problem.
>
>
> ditto.
>
>
> On Tue, Apr 9, 2013 at 7:09 AM, Andrew Arnott <an...@gmail.com>wrote:
>
>> 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 what you have to say, but I'll defend to the
>> death your right to say it." - S. G. Tallentyre
>>
>>
>> On Tue, Apr 9, 2013 at 5:37 AM, El Tigre <el...@yahoo.com> wrote:
>>
>>>
>>> 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
>>>
>>>
>>
>


-- 
Dominik Psenner
## OpenPGP Key Signature #################################
# Key ID: B469318C                                       #
# Fingerprint: 558641995F7EC2D251354C3A49C7E3D1B469318C  #
##########################################################

Re: Log4net NOT working on .net 4.5

Posted by George Chung <ge...@glympse.com>.
>
> I use log4net with .NET 4.5 all the time without problem.


ditto.

On Tue, Apr 9, 2013 at 7:09 AM, Andrew Arnott <an...@gmail.com>wrote:

> 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 what you have to say, but I'll defend to the death
> your right to say it." - S. G. Tallentyre
>
>
> On Tue, Apr 9, 2013 at 5:37 AM, El Tigre <el...@yahoo.com> wrote:
>
>>
>> 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

Posted by Andrew Arnott <an...@gmail.com>.
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 what you have to say, but I'll defend to the death
your right to say it." - S. G. Tallentyre


On Tue, Apr 9, 2013 at 5:37 AM, El Tigre <el...@yahoo.com> wrote:

>
> 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

Posted by El Tigre <el...@yahoo.com>.
>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

Posted by El Tigre <el...@yahoo.com>.
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 2012\Projects\AdministrareRetele\AdministrareRetele\bin\Debug\log4net.dll]. (.NET Runtime [4.0.30319.18033] on Microsoft Windows NT 6.2.9200.0)
 
log4net: defaultRepositoryType [log4net.Repository.Hierarchy.Hierarchy]
log4net: Creating repository for assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]
 
log4net: Assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null] Loaded From [c:\Users\El Tigre\Documents\Visual Studio 2012\Projects\AdministrareRetele\AdministrareRetele\bin\Debug\AdministrareRetele.exe]
 
log4net: Assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null] does not have a RepositoryAttribute specified.
 
log4net: Assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null] using repository [log4net-default-repository] and repository type [log4net.Repository.Hierarchy.Hierarchy]
 
log4net: Creating repository [log4net-default-repository] using type [log4net.Repository.Hierarchy.Hierarchy]
 
 
 
I tried the target framework to 4.0 but it messed up my project

RE: Log4net NOT working on .net 4.5

Posted by Dominik Psenner <dp...@gmail.com>.
Please post responses to the mailing list too.

 

Did you configure appenders for your projects as described at [1] and is your application spawning log events by invoking a method
like log.Info("foo")?

 

[1] http://logging.apache.org/log4net/release/manual/configuration.html

 

  _____  

From: El Tigre [mailto:el_tigre4jc@yahoo.com] 
Sent: Tuesday, April 09, 2013 1:55 PM
To: Dominik Psenner
Subject: Re: Log4net NOT working on .net 4.5

 

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 2012\Projects\AdministrareRetele\AdministrareRetele\bin\Debug\log4net.dll]. (.NET Runtime
[4.0.30319.18033] on Microsoft Windows NT 6.2.9200.0)

 

log4net: defaultRepositoryType [log4net.Repository.Hierarchy.Hierarchy]

log4net: Creating repository for assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]

 

log4net: Assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null] Loaded From [c:\Users\El
Tigre\Documents\Visual Studio 2012\Projects\AdministrareRetele\AdministrareRetele\bin\Debug\AdministrareRetele.exe]

 

log4net: Assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null] does not have a RepositoryAttribute
specified.

 

log4net: Assembly [AdministrareRetele, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null] using repository
[log4net-default-repository] and repository type [log4net.Repository.Hierarchy.Hierarchy]

 

log4net: Creating repository [log4net-default-repository] using type [log4net.Repository.Hierarchy.Hierarchy]

 

 

 

I tried the target framework to 4.0 but it messed up my project

 

El TigreT C

  _____  

From: Dominik Psenner <dp...@gmail.com>
To: 'Log4NET User' <lo...@logging.apache.org>; 'El Tigre' <el...@yahoo.com> 
Sent: Tuesday, April 9, 2013 2:47 PM
Subject: RE: Log4net NOT working on .net 4.5

 

I forgot to quote [1]. .NET 4.5 is not among the officially supported .NET frameworks yet. IMHO you should be able to use log4net's
.NET 4.0 build with the .NET 4.5 framework, but there may be unknown issues ahead. Please check [2] for changes that could break
appenders you are using (i.e. if you are trying to use AdoNetAppender to log into a SQL Server 1997 database).

 

Cheers,

D.

 

[1] http://logging.apache.org/log4net/release/features.html#frameworks

[2] http://msdn.microsoft.com/en-us/library/hh367887.aspx

 

  _____  

From: Dominik Psenner [mailto:dpsenner@gmail.com] 
Sent: 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 some log messages but still nothing happens, it is always a good idea to enable
log4net's internal logging 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_tigre4jc@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 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

Posted by Dominik Psenner <dp...@gmail.com>.
I forgot to quote [1]. .NET 4.5 is not among the officially supported .NET frameworks yet. IMHO you should be able to use log4net's
.NET 4.0 build with the .NET 4.5 framework, but there may be unknown issues ahead. Please check [2] for changes that could break
appenders you are using (i.e. if you are trying to use AdoNetAppender to log into a SQL Server 1997 database).

 

Cheers,

D.

 

[1] http://logging.apache.org/log4net/release/features.html#frameworks

[2] http://msdn.microsoft.com/en-us/library/hh367887.aspx

 

  _____  

From: Dominik Psenner [mailto:dpsenner@gmail.com] 
Sent: 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 some log messages but still nothing happens, it is always a good idea to enable
log4net's internal logging 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_tigre4jc@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 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

Posted by Dominik Psenner <dp...@gmail.com>.
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 some log messages but still nothing happens, it is always a good idea to enable
log4net's internal logging 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_tigre4jc@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 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...