Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
The initial lookup of the local hostname adds unnecessary overhead to startup time when a configuration doesn't reference it. This can be especially egregious if Java is unable to figure out the local hostname without performing a DNS lookup.
The hostname lookup should be deferred until it's needed. This should help reduce startup time.
Attachments
Issue Links
- is a child of
-
LOG4J2-2795 Make LogManager/LoggerContext creation time reasonable
- Open
- relates to
-
LOG4J2-3602 Don't output ERROR level stacktrace in getLogger() call when there is no network available
- Open