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

    The listener section adjusts the configuration of the Loupe .NET Listener that captures information directly from the .NET runtime.  

    Configuration Type Path
    JSON File Loupe.Listener
    Environment Variable Prefix Loupe__Listener

    Settings that do not apply to a particular application type (for example WinForms settings for an ASP.NET application) will be safely disabled so it is not necessary to explicitly configure them this way.

    Option Description Default Value Required
    EnableConsole When true, anything written to the console standard out or error out will be appended to the log.  These are identified as the console log system and displayed in a distinct section of the viewer. false false
    EnableGCEvents When true, metrics are recorded for Garbage Collector (GC) events. true false
    EnableNetworkEvents When true, network connection events (such as network link state and IP configuration changes) will be automatically recorded. true false

    Example

    Listener Configuration
    Copy Code
    {
      "Loupe": {
        "Publisher": {
          "ProductName": "AspNetCore2.Sandbox",
          "ApplicationName": "Test",
          "ApplicationType": "AspNet",
          "ApplicationVersionNumber": "1.0.1"
        },
        "Listener" : {
          "EnableConsole" :  true
        }
      }
    }
    

     

    Environment Configuration
    Copy Code
    Loupe__Listener__EnableConsole=True
    
    See Also