Chat Support
Loupe - Log - Monitor - Resolve
Loupe / Developer's Guide / For .NET Core / 6 / 8 / Agent Configuration / Developer's Guide - Live Session Configuration
In This Topic
    Developer's Guide - Live Session Configuration
    In This Topic

    The networkViewer configuration section controls if a live data stream is available for the current session.

    Configuration Type Path
    JSON File Loupe.NetworkViewer
    Environment Variable Loupe__NetworkViewer

     

    Option Description Default Value Required
    Enabled When true, Loupe data will be made available to clients in real time over TCP/IP. false false
    AllowLocalClients

    Enables connecting a viewer on the local computer when true.

    true false
    AllowRemoteClients

    Enables connecting a viewer from another computer when true.

    false false
    MaxQueueLength

    The maximum number of queued messages waiting to be written to disk.

    Once the total number of messages waiting to be written exceeds the maximum queue length the log writer will switch to a synchronous mode to catch up. This will not cause the application to experience synchronous logging behavior unless the publisher queue is also filled.

    2000 false

    Port information used to communicate with the Server isn't configurable in the Agent because it is automatically retrieved by the Agent once it connects to the Server.  You can edit it using the Server Administration tool.

    Example

    Network Viewer Configuration
    Copy Code
    {
      "Loupe": {
        "Publisher": {
          "ProductName": "AspNetCore2.Sandbox",
          "ApplicationName": "Test",
          "ApplicationType": "AspNet",
          "ApplicationVersionNumber": "1.0.1"
        },
        "NetworkViewer": {
          "AllowRemoteClients" :  true
        }
      }
    }
    

     

    Environment Configuration
    Copy Code
    Loupe__NetworkViewer__AllowRemoteClients=True
    
    See Also