You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "Piotr Karwasz (Jira)" <ji...@apache.org> on 2022/03/22 22:43:00 UTC
[jira] [Assigned] (LOG4J2-3442) Defer hostname lookup until first used
[ 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)