Upgrade to log4net 1.2.11?

113 views
Skip to first unread message

j gwood

unread,
Apr 16, 2012, 11:57:06 AM4/16/12
to nhu...@googlegroups.com
Are there any plans to upgrade NH to use log4net 1.2.11?  I searched through Jira, but couldn't find anything other than the previous upgrade to log4net 1.2.10.  Is there any other place to check whether or not log4net 1.2.11 is on the NH radar or should I enter a request in Jira?  Thanks.

Oskar Berggren

unread,
Apr 16, 2012, 1:15:36 PM4/16/12
to nhu...@googlegroups.com


Please create a jira issue for it.

I suppose that preferably we should make it so that NH can work with
both 1.2.10 and 1.2.11?

/Oskar

Shatl

unread,
Apr 17, 2012, 10:41:09 AM4/17/12
to nhu...@googlegroups.com
Having this section in app.config should be enough.

  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="log4net" publicKeyToken="1b44e1d426115821" />
        <bindingRedirect oldVersion="1.2.10.0" newVersion="1.2.11.0" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

Ensure it has same public key token as log4net 1.2.11 is signed with two different keys.

cremor

unread,
Apr 20, 2012, 3:16:39 AM4/20/12
to nhu...@googlegroups.com
NHibernate dropped its hard reference to log4net two years ago. You don't need to change anything, it will just work.
Reply all
Reply to author
Forward
0 new messages