[SPRNET-1247] Update to use Common.Logging 2.0 Created: 04/Aug/09  Updated: 10/May/12  Resolved: 10/May/12

Status: Resolved
Project: Spring.NET
Component/s: None
Affects Version/s: 1.3.0 RC1
Fix Version/s: 2.0 M1

Type: Improvement Priority: Major
Reporter: Tobi Tobsen Assignee: Steve Bohlen
Resolution: Fixed Votes: 5
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


Currently Spring.net is compiled to version 1.2 of the http://netcommon.sourceforge.net/ common logging Framework. Recently 2.0 has been released. Please compile against the latest version so users won't have to add assembly redirects to their configs if they want to use CommonLogging 2.0 (and it's neat log.Debug( m=>m("value=


", obj.Value) ); syntax) in their projects.

Comment by Uwe S├╝dbeck [ 24/Sep/09 ]

Is there progress on this issue? It would be great to get rid of that redirects. Thanks for any comments or informations about a first timeline for this ticket.

Comment by Mark Pollack [ 24/Sep/09 ]

This will be done as part of the Spring.NET 2.0 release cycle, which will be early next year. Sorry for the inconvenience until then.

Comment by Mark Pollack [ 24/Sep/09 ]

We also need Quartz.NET to update and also by that time I suspect that NHibernate may become Commons.Logging users too.

Comment by Charles Cai [ 19/Jan/11 ]

Add this to app.config to use Common.Logging 2.0 with Spring 1.3.x

<?xml version="1.0"?>

<bypassTrustedAppStrongNames enabled="true"/>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<assemblyIdentity name="Common.Logging" publicKeyToken="af08829b84f0328e"/>
<bindingRedirect oldVersion="" newVersion=""/>


Comment by simone basso [ 05/Dec/11 ]

Charles, your solution trigger this problem when using WebSupportModule:

Method 'TraceFormat' in type 'Common.Logging.Log4Net.Log4NetLogger' from assembly 'Common.Logging.Log4Net, Version=, Culture=neutral, PublicKeyToken=af08829b84f0328e' does not have an implementation.

Comment by Steve Bohlen [ 10/May/12 ]

Updated bin refs and changed several dependent types in tests.

Generated at Wed Oct 23 08:53:19 UTC 2019 using Jira 7.13.8#713008-sha1:1606a5c1e7006e1ab135aac81f7a9566b2dbc3a6.