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

fix console printer to also print unknown levels #34

Merged
merged 2 commits into from
Feb 3, 2020

Conversation

flixr
Copy link
Contributor

@flixr flixr commented Jan 22, 2020

this can happen if people added their own log4cxx levels
In this case, still print the message on the console in red with "UNKNO" level instead of just printing a newline.

this can happen if people added their own log4cxx levels
In this case, still print the message on the console in red with "UNKNO" level instead of just printing a newline.
@flixr flixr mentioned this pull request Jan 22, 2020
@dirk-thomas dirk-thomas added the enhancement New feature or request label Feb 3, 2020
@dirk-thomas
Copy link
Member

Since you chose red as the fallback color should the message also go to stderr?

A comment about why the fallback is in place would be great, too.

@flixr
Copy link
Contributor Author

flixr commented Feb 3, 2020

good point, done...

@dirk-thomas
Copy link
Member

Thanks for the patch and the quick update!

@dirk-thomas dirk-thomas merged commit e553e49 into ros:melodic-devel Feb 3, 2020
@flixr flixr deleted the print_unknown_levels branch February 3, 2020 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants