Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.13.0
-
None
-
None
Description
Currently (2.13), LogManager.getLogger("xxx") takes ~600ms on a cold JVM by itself.
For a logging framework it is likely way too much (by comparison a CDI test with classpath scanning takes ~50ms).
This ticket is about trying to be faster (maybe by removing java serialization usage and reducing registry usage + reflection of plugins by generating java code?).
Attachments
Attachments
Issue Links
- is a parent of
-
LOG4J2-3442 Defer hostname lookup until first used
- Open
-
LOG4J2-3441 Defer loading of StrLookup plugin classes until first use
- Resolved
-
LOG4J2-3443 Defer JMX initialization unless opted in
- Resolved
-
LOG4J2-3459 Reduce use of class static initialization blocks
- Resolved
-
LOG4J2-3450 Add mechanism to disable Log4j2 automatic configuration
- Open
- relates to
-
LOG4J2-2802 Log4j-core must only require java.base
- Open