logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitiry Nagirnyak <dna...@gmail.com>
Subject Add info about HttpRequest/Context
Date Wed, 28 Oct 2009 00:35:26 GMT

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?


View raw message