Configure Logging
You do not need to create a log source to send logs from the AppSignal for Go integration. An “application” log source will be created automatically. The Go integration uses OpenTelemetry’s logging capabilities to send logs to AppSignal.Stand-alone usage
To use logging with OpenTelemetry in Go, you need to set up the logger using OpenTelemetry’s logger provider.Usage with slog
You can configure the standard slog package to send structured logs to AppSignal using the OpenTelemetry handler.
Usage
Sending Logs
Using the OpenTelemetry logger directly, you can define the severity level of your logs:Filtering Logs
You can use theignore_logs configuration option to ignore log lines. See our Ignore Logs guide to learn more.