Logs
This feature is in Early Access
LaunchDarkly’s observability features are publicly available in early access. Enable observability in the billing page.
They currently require the LaunchDarkly observability SDKs and the JavaScript, React Web, or Vue SDK.
If you are interested in participating in the Early Access Program for our upcoming observability plugins for server-side SDKs, sign up here.
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.
To instrument your application to capture logs, read the documentation on Observability SDKs. The functionality is available through plugins to the LaunchDarkly JavaScript SDK.
To view logs for your application, click Logs in the left navigation menu, and then select a log from the list.
To learn more about the search specification for the logs view, read Search specification.
By default, the observability SDK plugin automatically injects the following attributes to provide additional help with searching for traces: