logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mattyboy <ma...@spdprintsolutions.com>
Subject Re: Log in more than 1 log destination for different assemblies.
Date Wed, 02 Sep 2009 08:28:13 GMT

Hi Christian,

I'm actually looking to achieve the opposite, I want to know if it's
possible to get several assemblies to log to the SAME log file.  Have you
managed to achieve this?  If so, do you have any example code/configs etc.?

Many Thanks

cristianmad wrote:
> Hi, 
> I am new to log4net and just starting reading some documentation about it.
> We need to see if it would be a suitable logging solution for our
> applications. 
> Our product (like most of them) uses a number of assemblies. I was
> wondering if it would be possible for each assembly to log in its own log
> file (or any other destination) even if they are loaded in the same
> application domain. 
> For example consider we have the following assemblies: A.dll and B.dll. Is
> it possible for the two assemblies to log in their own log files even if
> they are loaded in the same application domain?
> If yes, could you please give me a very simple example?
> Thank you, 
> Cristian

View this message in context: http://www.nabble.com/Log-in-more-than-1-log-destination-for-different-assemblies.-tp24807634p25253548.html
Sent from the Log4net - Users mailing list archive at Nabble.com.

View raw message