The Log4Net mailing list is a great source of information about using log4Net, in this forum we collect all the messages in the log4net user list and some selected threads from the developer list.
| Author |
Messages |
|
Scott Alexander
 |
| 12/01/2008 4:43 PM |
|
Just curious if there is any new information regarding the availability of = the log4net private key.
I have a project that uses log4net but requires a minor modification to the= code (RollingFileAppender RollFile method marked as virtual). This is a p= roblem b/c I also use some other assemblies (i.e. NHibernate) that use log4= net. Now I have two log4net assemblies signed w/ different keys...
In order to get this to almost work (without using the GAC) I have to copy = both assemblies to my bin directory (bin/log4net.dll and bin/log4net/log4ne= t.dll), then use a <codebase> element in the application config file to ove= rride the assembly binding. This almost works, w/ the exception of the majo= r problem that I now have two log4net assemblies instantiated and cannot re= ceive log messages from both using a single appender.
This would be a trivial problem if I had access to the private key... any a= dvice?
Thanks Scott Alexander
P.S. love the project!
|
|
|
|
|
Walden H. Leverich
 |
| 12/01/2008 5:11 PM |
|
Does NHibernate require a signed version of the assembly? Why not just drop you modified version, unsigned, into the bin directory and let NHibernate use it.
-Walden
-- Walden H Leverich III Tech Software (516) 627-3800 x3051 WaldenL@TechSoftInc.com http://www.TechSoftInc.com
Quiquid latine dictum sit altum viditur. (Whatever is said in Latin seems profound.)
|
|
|
|
|
Scott Alexander
 |
| 12/01/2008 5:16 PM |
|
NHibernate is compiled against the strong named version of log4net so yes, it requires a specific version (1.2.10.9 signed by the log4net key) of log4net.
Scott
|
|
|
|
|
Scott Alexander
 |
| 12/01/2008 5:16 PM |
|
correction - (1.2.10.0 signed by the log4net key)
|
|
|
|
|
|
| You are not authorized to post a reply. |
|
|
|
ActiveForums 3.7
|