-
-
Notifications
You must be signed in to change notification settings - Fork 7k
[REQ] Log colouration #4615
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
Comments
If you think this is useful feature and we need colors in console output, please add 👍 or any other emote to this message. It's kind of a poll. |
Have you considered using https://github.com/mihnita/java-color-loggers ? |
Or use the following as stated in the readme:
|
@wing328 Looks promising. Can we add this package to project dependencies or every user should install it manually? |
We can include it in the project itself. |
@wing328 Yeah, that's what I want, definitely! |
The project uses logback, not log4j. You'd need to follow the guides provided by logback, which would require an additional package. |
Closed via #5193 |
Is your feature request related to a problem? Please describe.
Right now it's hard to distinguish
WARN
/DEBUG
/ERROR
console messages in Macos Terminal. Most of time I ignore these messages, because it looks likeINFO
noise to me. When you generate the same build over and over again you just check error exit code or something red/yellow coloured in terminal output. If everything white or grey so it looks like nothing bad happened.Describe the solution you'd like
I think it would be great to add an option of color output to all generators, like it works in
maven
or other significant libraries.This line of code works in MacOs Terminal, but we need more global solution.
Describe alternatives you've considered
@Fjolnir-Dvorak suggested log-colouration pipelines. See quotes below.
Additional context
Quotes from Slack conversation:
@jimschubert says:
@wing328 says:
@Fjolnir-Dvorak says:
The text was updated successfully, but these errors were encountered: