[ 
https://issues.apache.org/jira/browse/LOG4J2-3442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Piotr Karwasz reassigned LOG4J2-3442:
-------------------------------------

    Assignee: Piotr Karwasz

> 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
>            Assignee: Piotr Karwasz
>            Priority: Major
>
> 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)

Reply via email to