Monday, May 21, 2012
 
The best way to analyze your logs! Minimize
 Log4Net Mail archive   

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.

Subject: Strong Name Key
Prev Next
You are not authorized to post a reply.

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.
Forums > Log4Net > Log4Net Mail archive > Strong Name Key



ActiveForums 3.7

 

 

 

 

 

 

 

 

Log4Net Dashboard

Log analysis and monitoring made easy!

Log4Net Dashboard is a log viewer that can read log statements from a variety of logging output targets.

You can download a free developer version.

  

Check it out!

On the demonstration site you can try it  with live data.demo.l4ndash.com - Try Log4Net Dashboard with live data

The mail archive is a copy of all the mail sent to the mail address: log4net-user@logging.apache.org, organized as a forum.

If you would like to participate in the mail list, send a mail to log4net-user-subscribe@logging.apache.org.

More information about the mailing list is available on: http://logging.apache.org/log4net/support.html

 

A complete topic list is available and can be viewed here (warning, it takes some time to load)

 

Copyright 2005-2008 by FaktNet AS Terms Of Use Privacy Statement