Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent default logger's level from being unset #106

Merged
merged 1 commit into from
Jun 8, 2018

Conversation

dhood
Copy link
Member

@dhood dhood commented Jun 7, 2018

Otherwise getting the effective level of a logger can return unset, where it should always return one of info, warn, etc (falling back to the default if a logger's level hasn't been explicitly set).

  • Linux Build Status
  • Linux-aarch64 Build Status
  • macOS Build Status
  • Windows Build Status

Otherwise getting the _effective_ level of a logger can return unset
@dhood dhood added the in review Waiting for review (Kanban column) label Jun 7, 2018
@dhood dhood self-assigned this Jun 7, 2018
Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

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

lgtm

@dhood
Copy link
Member Author

dhood commented Jun 8, 2018

For context, this was discovered while testing ros2/rcl#256 (setting unset would cause debug messages to be printed because unset < debug).

@dhood dhood merged commit 45c15c2 into master Jun 8, 2018
@dhood dhood deleted the default_logger_unset branch June 8, 2018 00:12
@wjwwood wjwwood removed the in review Waiting for review (Kanban column) label Jun 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants