[
https://issues.apache.org/jira/browse/YUNIKORN-1825?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Craig Condit updated YUNIKORN-1825:
-----------------------------------
Description:
We need to convert all usages of log.Logger() to log.Log(handle) in the core.
The following loggers should be defined:
* core [default logger, should not be used directly]
* test [test logger, should only be used in test code]
* deprecation [used for deprecated functionality warnings]
* core.config
* core.entrypoint
* core.events
* core.opentracing
* core.resources
* core.rest
* core.rmproxy
* core.rpc
* core.metrics
* core.scheduler
* core.scheduler.allocation
* core.scheduler.application
* core.scheduler.application.usage (convert core.application.usage to this)
* core.scheduler.context
* core.scheduler.fsm
* core.scheduler.health
* core.scheduler.node
* core.scheduler.partition
* core.scheduler.preemption
* core.scheduler.queue
* core.scheduler.reservation
* core.scheduler.ugm
* core.security
* core.utils
was:Identify which specific loggers should be created for the core. We should
attempt to provide fine-grained logging, but do so in a way which is most
useful for users. For example, we should not just blindly set loggers
per-package, but probably per-subsystem. This also means we should identify
subsystem boundaries and attempt to make the logger hierarchy match.
> Core: Convert to scoped logging
> -------------------------------
>
> Key: YUNIKORN-1825
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1825
> Project: Apache YuniKorn
> Issue Type: Sub-task
> Components: core - common
> Reporter: Craig Condit
> Assignee: Craig Condit
> Priority: Major
>
> We need to convert all usages of log.Logger() to log.Log(handle) in the core.
> The following loggers should be defined:
> * core [default logger, should not be used directly]
> * test [test logger, should only be used in test code]
> * deprecation [used for deprecated functionality warnings]
> * core.config
> * core.entrypoint
> * core.events
> * core.opentracing
> * core.resources
> * core.rest
> * core.rmproxy
> * core.rpc
> * core.metrics
> * core.scheduler
> * core.scheduler.allocation
> * core.scheduler.application
> * core.scheduler.application.usage (convert core.application.usage to this)
> * core.scheduler.context
> * core.scheduler.fsm
> * core.scheduler.health
> * core.scheduler.node
> * core.scheduler.partition
> * core.scheduler.preemption
> * core.scheduler.queue
> * core.scheduler.reservation
> * core.scheduler.ugm
> * core.security
> * core.utils
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]