-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
configurationAffects the configuration system in a general wayAffects the configuration system in a general wayperformanceIssues or PRs that affect performance, throughput, latency, etc.Issues or PRs that affect performance, throughput, latency, etc.
Milestone
Description
Description
When starting an application with:
Logger logger = LogManager.getLogger("test");
It takes 5 seconds consistently for the first logger to initiate. Afterwards, this command can be repeated and there is no slowdown.
This makes it extremely troublesome to run tests, debug as program start time is increased by 5 seconds.
Configuration
Version: [Log4j version]
2.21.1
Operating system: [OS and version]
macOS Montery (m1 processor)
JDK: [JDK distribution and version]
openjdk-21.0.1
Reproduction
public static void main(String[] args) { long ts = System.currentTimeMillis(); LogManager.getLogger("test"); System.out.println(System.currentTimeMillis() - ts); // eg. 5432 }
Metadata
Metadata
Assignees
Labels
configurationAffects the configuration system in a general wayAffects the configuration system in a general wayperformanceIssues or PRs that affect performance, throughput, latency, etc.Issues or PRs that affect performance, throughput, latency, etc.
Type
Projects
Status
To triage