Return-Path: Delivered-To: apmail-logging-log4net-user-archive@www.apache.org Received: (qmail 11816 invoked from network); 28 Oct 2009 00:35:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Oct 2009 00:35:51 -0000 Received: (qmail 12513 invoked by uid 500); 28 Oct 2009 00:35:51 -0000 Delivered-To: apmail-logging-log4net-user-archive@logging.apache.org Received: (qmail 12448 invoked by uid 500); 28 Oct 2009 00:35:51 -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 12439 invoked by uid 99); 28 Oct 2009 00:35:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 00:35:51 +0000 X-ASF-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of dnagir@gmail.com designates 74.125.92.149 as permitted sender) Received: from [74.125.92.149] (HELO qw-out-1920.google.com) (74.125.92.149) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2009 00:35:48 +0000 Received: by qw-out-1920.google.com with SMTP id 5so114336qwc.40 for ; Tue, 27 Oct 2009 17:35:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=bKsCdl9qgSVNgY434akUzc7lzJIB54ivjlbweAhw7s4=; b=j4hotqH9UwjZKVVQFc+gaS4lgTz9tZt8Uz7NtD/1dXBx7UKP+q7avix9vBVQkFxW/l usRTzCQTs4+586IURkxQOCJiGZA+Pvv/XHg9I02JC2yt6To4U9Upvhrw4ohZJ3Vz0Z0C DQF18nmSvLr0HckwTGmeXGn4nPRJhHD3ugUIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=ON8bYwfGorNd2jutJaF3tEkBnc2b8+OA/RhQQrI6yILILKctaF807HQP7drPclsfq0 LgBtiXqIlDMeSH1GCZM2OBeSFU3v+PpboWR/0Fj7C0C9rXaexh3TYf1X/vHEfX+iJpw6 AQGnI3BQ+l9ww8WB87/Y7djPYVDlhroMykzN8= MIME-Version: 1.0 Received: by 10.220.126.205 with SMTP id d13mr10482983vcs.84.1256690126960; Tue, 27 Oct 2009 17:35:26 -0700 (PDT) Date: Wed, 28 Oct 2009 11:35:26 +1100 Message-ID: <73ee720a0910271735r4ab6a69kc3505bea94a32a25@mail.gmail.com> Subject: Add info about HttpRequest/Context From: Dmitiry Nagirnyak To: log4net-user@logging.apache.org Content-Type: multipart/alternative; boundary=00504501634b9c37f50476f3f823 --00504501634b9c37f50476f3f823 Content-Type: text/plain; charset=UTF-8 Hi, In the ASP.NET app I use Application_Error to log unhanded exceptions. I usually use log.Fatal("bla", exception). But I want the log to include the information about the request (URL, HTTP headers, source IP and so on). So the question is if log4net has out of the box functionality for that with some kind of renderers or similar? Or is it the only way to do it is to assemble all the info I want to log into a string manually and log it? Cheers, Dmitriy. http://dnagir.blogspot.com --00504501634b9c37f50476f3f823 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

In the ASP.NET app I use Applicat= ion_Error to log unhanded exceptions. I usually use log.Fatal("bla&quo= t;, exception).
But I want the log to include the information about the = request (URL, HTTP headers, source IP and so on).

So the question is if log4net has out of the box functionality for that= with some kind of renderers or similar?

Or is it the only way to do= it is to assemble all the info I want to log into a string manually and lo= g it?

Cheers,
Dmitriy.
http://dn= agir.blogspot.com

--00504501634b9c37f50476f3f823--