Table of Contents
Sentry for Log4j 2.x
Getting Started
Scope & Breadcrumbs
Advanced Usage
Configuration
Usage
Legacy SDK (1.7)
Performance Monitoring
Set Up
Instrumentation
Connect Services
Enriching Events
Add Context
Identify Users
Customize Tags
Attachments
Breadcrumbs
User Feedback
Scopes and Hubs
Data Management
Scrubbing Sensitive Data
Other Platforms
.NET
Android
Apple
Dart
Elixir
Flutter
Go
JavaScript
Kotlin
Native
Node.js
Perl
PHP
Python
React Native
Ruby
Rust
Unity
Demo
Đăng nhập
Home
Platforms
Java
Log4j 2.x
Enriching Events
Enriching Events
Add Context
Custom contexts allow you to attach arbitrary data (strings, lists, dictionaries) to an event.
Identify Users
Learn how to configure the SDK to capture the user and gain critical pieces of information that construct a unique identity in Sentry.
Customize Tags
Tags power UI features such as filters and tag-distribution maps. Tags also help you quickly access related events and view the tag distribution for a set of events.
Attachments
Learn more about how Sentry can store additional files in the same request as event attachments.
Breadcrumbs
Learn more about what Sentry uses to create a trail of events (breadcrumbs) that happened prior to an issue.
User Feedback
Learn more about collecting user feedback when an event occurs. Sentry pairs the feedback with the original event, giving you additional insight into issues.
Scopes and Hubs
SDKs will typically automatically manage the scopes for you in the framework integrations. Learn what a scope is and how you can use it to your advantage.
Package:
maven:io.sentry:sentry-log4j2
Version:
7.13.0
Repository:
https://github.com/getsentry/sentry-java