ovidiuf opened a new pull request, #773: URL: https://github.com/apache/yunikorn-core/pull/773
### What is this PR for? Fix for YUNIKORN-2320 "Package-level logger triggers early log system initialization, preventing custom logging configuration". Early initialization at package lexical scope triggers one-time logging system initialization, preventing subsequent custom logging configuration. The fix introduces lazy initialization of the package variable. ### What type of PR is it? * [x] - Bug Fix * [ ] - Improvement * [ ] - Feature * [ ] - Documentation * [ ] - Hot Fix * [ ] - Refactoring ### Todos * [ ] - Task ### What is the Jira issue? https://issues.apache.org/jira/browse/YUNIKORN-2320 ### How should this be tested? endpoint.TestCustomLoggingConfiguration() fails in presence of the defect and start passing after the bug is fixed. ### Screenshots (if appropriate) ### Questions: * [ ] - The licenses files need update. * [ ] - There is breaking changes for older versions. * [ ] - It needs documentation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
