Logs
This feature is in Early Access
LaunchDarkly’s observability features are publicly available in early access.
They currently require the LaunchDarkly observability plugins and the JavaScript SDK. If you are interested participating in the Early Access Program for our upcoming observability plugins for server-side SDKs, sign up here.
Overview
This topic explains how to use LaunchDarkly’s observability features to view session logs. The Logs page displays a list of logs for your application. You can use the page to view the logs for a specific time range. Logs have different levels: Debug
, Info
, Warn
, and Error
.
Click any log entry to see more details about the event, such as the session ID, the source of the event, and more. Click Related session to see the session replay for the log entry.
Get started
To instrument your application to capture logs, read the SDK documentation on Observability. The functionality is available through plugins to the LaunchDarkly JavaScript SDK.
Search
To learn more about the search specification for the logs view, read Search specification.
Search attributes
By default, the observability SDK plugin automatically injects the following attributes to provide additional help with searching for traces: