Logging
Working with Logging
By default, APM OT Connect services will log all WARN level messages to a logfile corresponding to that service.
If you need more detailed or targeted logs, you can add any number of blocks to the Logging array in appsettings.json.
Field | Description | Default | Example | Required? |
---|---|---|---|---|
Pattern | Wildcard pattern corresponding to the subcomponent being troubleshot | * | APM.Messagbus.* | No |
LoggingLevel | Standard logging level to capture in the target log | Warn | Debug | No |
LoggingMode | Log in human-readable Text, machine readable Json, or All(in separate files) | All | Text | No |
Example
"Logging": [
{
"Pattern": "*",
"LoggingLevel": "Debug",
"LoggingMode": "All"
}
]