Skip to content

core: change the mapping from ChannelLogLevel to java.util.logging.Level#8531

Merged
zhangkun83 merged 1 commit intogrpc:masterfrom
ZhouyihaiDing:channel_logger_map
Sep 22, 2021
Merged

core: change the mapping from ChannelLogLevel to java.util.logging.Level#8531
zhangkun83 merged 1 commit intogrpc:masterfrom
ZhouyihaiDing:channel_logger_map

Conversation

@ZhouyihaiDing
Copy link
Copy Markdown
Contributor

@ZhouyihaiDing ZhouyihaiDing commented Sep 17, 2021

Instead of ChannelLogLevel.{DEBUG,INFO} mapping to the same java level, ChannelLogLevel.{WARNING,ERROR} will shame the same java level. This allows us to be able to independently control the visibility of ChannelLogLevel.DEBUG logs which are the most verbose.

@zhangkun83 zhangkun83 changed the title Update ChannelLogger to Java logger level mapping core: change the mapping from ChannelLogLevel to java.util.LogLevel Sep 21, 2021
@zhangkun83 zhangkun83 changed the title core: change the mapping from ChannelLogLevel to java.util.LogLevel core: change the mapping from ChannelLogLevel to java.util.logging.Level Sep 21, 2021
Copy link
Copy Markdown
Contributor

@zhangkun83 zhangkun83 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhangkun83 zhangkun83 merged commit e41df60 into grpc:master Sep 22, 2021
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Dec 22, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants