Permalink
Browse files

Added a trace listener for initialization errors/warnings to the sample

- So far this only listens to the SignalR.ReflectedHubDescriptorProvider key
  • Loading branch information...
halter73 committed Jan 6, 2014
1 parent bb0261a commit 5dfe5d1b9771fcc2542861a9884b1054b68483fa
Showing with 6 additions and 0 deletions.
  1. +6 −0 samples/Microsoft.AspNet.SignalR.Samples/Web.config
@@ -71,13 +71,19 @@
<add name="SignalR-Transports" />
</listeners>
</source>
+ <source name="SignalR.ReflectedHubDescriptorProvider">
+ <listeners>
+ <add name="SignalR-Init" />
+ </listeners>
+ </source>
</sources>
<switches>
<add name="SignalRSwitch" value="Verbose" />
</switches>
<sharedListeners>
<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-Init" type="System.Diagnostics.TextWriterTraceListener" initializeData="init.log.txt" />
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>

0 comments on commit 5dfe5d1

Please sign in to comment.