zoukankan      html  css  js  c++  java
  • signalr 配置错误跟踪

    <system.diagnostics>
      <trace autoflush="true" indentsize="4">
        <listeners>
          <add name="default_traces" type="System.Diagnostics.TextWriterTraceListener" initializeData="default_traces.txt" />
        </listeners>
      </trace>
      <switches>
        <add name="SignalRSwitch" value="Error" />
      </switches>
      <sources>
    
        <source name="Application">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
    
        <source name="Microsoft.Owin.Host.SystemWeb">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
    
        <source name="SignalR.SqlMessageBus">
          <listeners>
            <add name="SignalR-Bus" />
          </listeners>
        </source>
        <source name="SignalR.ServiceBusMessageBus">
          <listeners>
            <add name="SignalR-Bus" />
          </listeners>
        </source>
        <source name="SignalR.RedisMessageBus">
          <listeners>
            <add name="SignalR-Bus" />
          </listeners>
        </source>
        <source name="SignalR.ScaleoutMessageBus">
          <listeners>
            <add name="SignalR-Bus" />
          </listeners>
        </source>
    
        <source name="SignalR.Connection">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.PersistentConnection">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.HubDispatcher">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.Transports.WebSocketTransport">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.Transports.ServerSentEventsTransport">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.Transports.ForeverFrameTransport">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.Transports.LongPollingTransport">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.Transports.TransportHeartBeat">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
        <source name="SignalR.ReflectedHubDescriptorProvider">
          <listeners>
            <add name="traces" />
          </listeners>
        </source>
      </sources>
      <sharedListeners>
        <add name="traces" type="System.Diagnostics.TextWriterTraceListener" initializeData="server_traces.txt" />
      </sharedListeners>
    </system.diagnostics>
  • 相关阅读:
    [计算机网络-传输层] 无连接传输:UDP
    [BinaryTree] 最大堆的类实现
    [OS] 生产者-消费者问题(有限缓冲问题)
    [剑指Offer] 64.滑动窗口的最大值
    [剑指Offer] 63.数据流中的中位数
    [剑指Offer] 62.二叉搜索树的第k个结点
    [OS] CPU调度
    [剑指Offer] 60.把二叉树打印成多行
    MySQL数据库实验二:单表查询
    数据库实验:基本表的定义与修改
  • 原文地址:https://www.cnblogs.com/lummon/p/4979796.html
Copyright © 2011-2022 走看看