-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Improve and standardize low-fi output prefixes (MINIKUBE_IN_STYLE=0) #4157
Comments
I agree that the ASCII output currently is not very good. Here's some features that I think should be improved and/or preserved:
Here's a straw-man proposal, though I'm definitely flexible on what characters are used so long as we can preserve those goals. Failed start:
Successful start:
Any thoughts? |
looks like a much more workable option as compared to current emjoi based output... |
Should info/warning/error be an explicit severity argument, and then have style as secondary ? (perhaps grouped into category) |
Personally, I prefer no prefixes whatsoever. They break up my ability to scan output. However, if that is not an option #4157 (comment) would be better than what we have now. |
Thanks for the feedback! I've mocked up 4 example styles for the 1.1 release. Could folks interested in this issue please vote on their top two styles? https://forms.gle/KjFG9ahgqURNr6k78 @jakebasile / @Th3G4mbl3r / @afbjorklund - I'd really love to get your feedback in particular. |
@tstromberg The election seems somewhat rigged, but I voted for the simplest formats. My preference is either go all in on the Mac emojis (color and all), or just drop the prefix. I think my feedback was the $MINIKUBE_NO_STYLE, which also avoided using booleans. But I can live with the black-and-white emoji or with the bullets, it's not super-important... Could still see color being used for errors (e.g. red) or a category (like in our google logging)
Then again those also frequently act up, and you are left with garbage. (See $NO_COLOR) |
Part of this got solved in Minishift by running pre-flight checks as the
libmachine and driver validations werent sufficient. The idea was to
refactor machine and put this responsibility in the driver. At the moment
we are doing this for CRC, but this not portable as we do not rely on
docker anymore.
…On Wed, May 1, 2019, 16:06 Anders Björklund ***@***.***> wrote:
@tstromberg <https://github.com/tstromberg> The election seems somewhat
rigged, but I voted for the simplest formats.
My preference is either go all in on the Mac emojis (color and all), or
just drop the prefix.
I think my feedback was the $MINIKUBE_NO_STYLE
<#4118>, which also avoided
using booleans.
But I can live with the black-and-white emoji or with the bullets, it's
not super-important...
------------------------------
Could still see *color* being used for errors (e.g. red) or a category
(like in our google logging)
-
https://github.com/sirupsen/logrus/blob/master/text_formatter.go#L210
-
https://github.com/golang/glog/blob/master/glog.go#L110
Then again those *also* frequently act up, and you are left with garbage.
(See $NO_COLOR <https://no-color.org/>)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#4157 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAAOZSKQJTQQV6YHDV2NLLPTFFPFANCNFSM4HIQSR6Q>
.
|
Sorry, what part of the ASCII output got fixed by libmachine/driver ? |
I voted for the "dash" option, but as @afbjorklund stated it's kind of a rigged vote, since my preference is nothing at all, not even indentation. Any prefix symbol makes it harder for me to read because it is so unlike all other terminal tools I use. As for the indents, they seem to just be a way to split what should be in one atomic line into multiple. What value is provided by these prefixes? The fact that it is a new line is already obvious since it is a new line. It'd be like me wearing a nametag that says "I am a human" when you can just look at me and see that I am a human. A new output line is indicated by a new output line. |
Closed by #4162 - will be part of next release. |
Moved from #3724 (comment)
The change to logging has cluttered output with worthless characters, or even worse emoji.
Please add an environment variable to shut this off.
Example:
should be:
These symbols provide no useful information and clutter the output.
The text was updated successfully, but these errors were encountered: