Log4j2 Manual
版本
2.x
语言
English
中文
返回目录
Apache Log4j™ 2
About
Download
Javadoc
Log4j 2 API
Implementation
JSP Tag Library
JSP Tag Library (TLD Doc)
Maven, Ivy, Gradle Artifacts
Maven
Ivy
Gradle
SBT
Bill of Material
Optional Components
Snapshot builds
Runtime Dependencies
Changelog
FAQ
Performance
Benchmarks
Logging Library Comparison
Async Logging Comparison
Async Logging Latency
Parameters
Location
File Logging Comparison
Filtering Comparison
Trade-offs
Articles and Tutorials
Security
Support
Thanks
For Contributors
Building Log4j from Source
Guidelines
Style Guide
Manual
Introduction
Architecture
Log4j 1.x Compatibility
Log4j 1.x Migration
Java API
Log Builder
Flow Tracing
Markers
Event Logging
Messages
ThreadContext
Scala API
Configuration
Automatic Configuration
Additivity
Automatic Reconfiguration
Chainsaw Support
Configuration Syntax
XML Syntax
JSON Syntax
YAML Syntax
Properties Syntax
Configuring Loggers
Configuring Appenders
Configuring Filters
Property Substitution
Lookup Variables
Scripts
XInclude
Composite Configurations
Status Messages
Unit Testing in Maven
System Properties
Usage
Static vs non-Static Loggers
Logger Name vs Class Name
Logging in the Cloud
Web Applications and JSPs
Servlet 3.0 and Newer
Servlet 2.5
Context Parameters
Configuration Lookups
JavaServer Pages Logging
Asynchronous Requests
Lookups
Context Map
Date
Docker
Environment
Event
Java
JNDI
JVM Arguments
Kubernetes
Log4j Config
Lower
Main Arguments
Map
Spring
Structured Data
System Properties
Upper
Web
Appenders
Async
Cassandra
Console
Failover
File
Flume
JDBC
JMS
JPA
HTTP
Kafka
Memory Mapped File
NoSQL
NoSQL for MongoDB
NoSQL for MongoDB 2
NoSQL for MongoDB 3
NoSQL for CouchDB
Output Stream
Random Access File
Rewrite
Rolling File
Rolling Random Access File
Routing
SMTP
ScriptAppenderSelector
Socket
SSL
Syslog
ZeroMQ/JeroMQ
Layouts
CSV
GELF
HTML
JSON
Pattern
RFC-5424
Serialized
Syslog
XML
YAML
Location Information
Filters
Burst
Composite Filter
Dynamic Threshold
Map
Marker
Regex
Script
Structured Data
Thread Context Map
Threshold
Time
Async Loggers
Trade-offs
All Loggers Async
Mixed Sync & Async
Location
Performance
Under The Hood
Garbage-free Logging
Configuration
Supported Appenders
Supported Layouts
Supported Filters
API Changes
Impact on Application Code
Performance
Under the Hood
JMX
Logging Separation
Extending Log4j
LoggerContextFactory
ContextSelector
ConfigurationFactory
LoggerConfig
LogEventFactory
MessageFactory
Lookups
Filters
Appenders
Layouts
PatternConverters
Plugin Builders
Custom ContextDataProvider
Custom Plugins
Plugins
Core
Converters
Key Providers
Lookups
Type Converters
Developer Notes
Programmatic Log4j Configuration
ConfigurationBuilder API
Understanding ConfigurationFactory
Example
Using Configurator
Config File and Code
After Initialization
Appending to Writers & OutputStreams
Custom Log Levels
In Code
In Configuration
Adding or Replacing Levels
Custom Loggers
Custom Logger Example
Code Generation Tool
Related Projects
Log4j-Scala
Legacy Sites
Log4j 1.2 - End of Life
Log4j 2.3 - Java 6
Log4j 2.12.1 - Java 7
Components
API
Implementation
Commons Logging Bridge
Log4j 1.2 API
SLF4J Binding
JUL Adapter
JDK Platform Logger
Log4j 2 to SLF4J Adapter
Apache Flume Appender
Log4j Tag Library
Log4j JMX GUI
Log4j Web Application Support
Log4j Application Server Integration
Log4j CouchDB appender
Log4j MongoDB2 appender
Log4j MongoDB3 appender
Log4j Cassandra appender
Log4j IO Streams
Log4j Liquibase Binding
Log4j Docker Support
Log4j Spring Cloud Config Client
Project Information
Dependency Convergence
Dependency Management
Project Team
Mailing Lists
Issue Tracking
Project License
Source Repository
Project Summary
Project Reports
Changes Report
JIRA Report
RAT Report
中文
English
A
A
Serif
Sans
White
Sepia
Night
首页
API Docs
工具
首页
API Docs
工具
About Apache Log4j Core
The Apache Log4j Implementation
Name
Log4j2 Manual
Version
2.x
Language
English
中文
Badge
Last Updated
2021-07-07T12:38:40