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_tigre...@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 <dpsen...@gmail.com> To: 'Log4NET User' <log4net-user@logging.apache.org>; 'El Tigre' <el_tigre...@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:dpsen...@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_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 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...