logging-log4net-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ron Grabowski <rongrabow...@yahoo.com>
Subject Re: How to make assembly directive in ASP.NET site.
Date Tue, 04 Jul 2006 18:58:44 GMT
The file doesn't matter. Assembly directives don't care which file they
come from. AssemblyInfo.cs or Global.asax.cs are good canidates.

--- Shaun Lipscombe <shaun.lipscombe@gmsl.co.uk> wrote:

> Where can I put [assembly: log4net.Config.XmlConfigurator(Watch =
> true)]
> in an ASP.NET webpage?  Ideally I'd like to specify this in some
> place
> like the Global.asax so that all my sites will be configured.  There
> is
> a <%Assembly %> directive but it only has the attributes src and name
> so
> I'm not sure how to declare it.

View raw message