Loupe - Log - Monitor - Resolve
Loupe / Developer's Guide / For Java / 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.

    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

    This example overrides the AllowRemoteClients setting to enable connecting to the Live Stream service on a Loupe Server.

    Publisher.ProductName=Your Product
    Publisher.ApplicationName=Your Application
    Publisher.ApplicationVersion=1.0.0
    NetworkViewer.AllowRemoteClients=true
    
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
        <entry key="Publisher.ProductName">Your Product</entry>
        <entry key="Publisher.ApplicationName">Your Application</entry>
        <entry key="Publisher.ApplicationVersion">1.0.0</entry>
        <entry key="NetworkViewer.AllowRemoteClients">true</entry>
    </properties>
    

    See Also