--HG--
branch : dev
This commit is contained in:
Andre Rodrigues
2010-12-14 23:47:22 -08:00
2 changed files with 22 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
<system.diagnostics>
<trace autoflush="true"/>
<trace autoflush="true">
<listeners>
<!-- Capture Trace messages from ASP.NET TraceWebEventProvider -->
<add name ="CaptureTraceMessages"/>
</listeners>
</trace>
<sources>
<source name="Default" switchValue="Warning">
<listeners>

View File

@@ -44,6 +44,22 @@
</system.transactions>
<system.web>
<healthMonitoring enabled="true" heartbeatInterval="0">
<providers>
<add name="TraceWebEventProvider"
type="System.Web.Management.TraceWebEventProvider, System.Web,Version=4.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</providers>
<rules>
<!--Configure the connection between the application lifetime event object and the provider that must process it.-->
<add name="Custom Application Events"
eventName="Application Lifetime Events"
provider="TraceWebEventProvider"
profile="Default"
minInterval="00:00:00" />
</rules>
</healthMonitoring>
<httpRuntime requestValidationMode="2.0" />
<!--
Set compilation debug="true" to insert debugging