Matt Sicker created LOG4J2-3442:
-----------------------------------
Summary: Defer hostname lookup until first used
Key: LOG4J2-3442
URL: https://issues.apache.org/jira/browse/LOG4J2-3442
Project: Log4j 2
Issue Type: Improvement
Components: Configuration
Reporter: Matt Sicker
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.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)