pbacsko opened a new pull request #329: URL: https://github.com/apache/incubator-yunikorn-core/pull/329
### What is this PR for? Adding a new method to entrypoint.go so that a zap logger and configuration can be injected when creating it from the shim. This makes it possible to change the log level dynamically in both components. Adding new REST endpoints to change/retrieve the current log level. ### What type of PR is it? * [ ] - Bug Fix * [x] - Improvement * [ ] - Feature * [ ] - Documentation * [ ] - Hot Fix * [ ] - Refactoring ### What is the Jira issue? https://issues.apache.org/jira/browse/YUNIKORN-75 ### How should this be tested? Use the new REST endpoints `/ws/v1/loglevel/<newlevel>` (PUT) for changing the log level and `/ws/v1/loglevel/` (GET) for retrieving it. ### 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]
