Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 78401 invoked from network); 2 Sep 2009 08:28:44 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Sep 2009 08:28:44 -0000 Received: (qmail 36853 invoked by uid 500); 2 Sep 2009 08:28:44 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 36782 invoked by uid 500); 2 Sep 2009 08:28:44 -0000 Mailing-List: contact log4net-user-help@logging.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Log4NET User" List-Id: Delivered-To: mailing list log4net-user@logging.apache.org Received: (qmail 36771 invoked by uid 99); 2 Sep 2009 08:28:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:28:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:28:34 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1MilCP-000083-Gz for log4net-user@logging.apache.org; Wed, 02 Sep 2009 01:28:13 -0700 Message-ID: <25253548.post@talk.nabble.com> Date: Wed, 2 Sep 2009 01:28:13 -0700 (PDT) From: mattyboy To: log4net-user@logging.apache.org Subject: Re: Log in more than 1 log destination for different assemblies. In-Reply-To: <24807634.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: mattm@spdprintsolutions.com References: <24807634.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org 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.