Skip to content

Commit

Permalink
Added a trace listener for initialization errors/warnings to the sample
Browse files Browse the repository at this point in the history
- So far this only listens to the SignalR.ReflectedHubDescriptorProvider key
  • Loading branch information
halter73 committed Jan 8, 2014
1 parent bb0261a commit 5dfe5d1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions samples/Microsoft.AspNet.SignalR.Samples/Web.config
Expand Up @@ -71,13 +71,19 @@
<add name="SignalR-Transports" /> <add name="SignalR-Transports" />
</listeners> </listeners>
</source> </source>
<source name="SignalR.ReflectedHubDescriptorProvider">
<listeners>
<add name="SignalR-Init" />
</listeners>
</source>
</sources> </sources>
<switches> <switches>
<add name="SignalRSwitch" value="Verbose" /> <add name="SignalRSwitch" value="Verbose" />
</switches> </switches>
<sharedListeners> <sharedListeners>
<add name="SignalR-Transports" type="System.Diagnostics.TextWriterTraceListener" initializeData="transports.log.txt" /> <add name="SignalR-Transports" type="System.Diagnostics.TextWriterTraceListener" initializeData="transports.log.txt" />
<add name="SignalR-Bus" type="System.Diagnostics.TextWriterTraceListener" initializeData="bus.log.txt" /> <add name="SignalR-Bus" type="System.Diagnostics.TextWriterTraceListener" initializeData="bus.log.txt" />
<add name="SignalR-Init" type="System.Diagnostics.TextWriterTraceListener" initializeData="init.log.txt" />
</sharedListeners> </sharedListeners>
<trace autoflush="true" /> <trace autoflush="true" />
</system.diagnostics> </system.diagnostics>
Expand Down

0 comments on commit 5dfe5d1

Please sign in to comment.