-
-
Notifications
You must be signed in to change notification settings - Fork 38
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
[FEATURE] Add flags to control verbosity of output #278
Comments
The unix tools are usually able to detect whether they output to the terminal. In that case, I would leave the time stamp and remove them, when the output is different from tty. However, I have no idea about how to detect that in JVM. |
Looks like this could help? https://stackoverflow.com/questions/1403772/how-can-i-check-if-a-java-programs-input-output-streams-are-connected-to-a-term I still doubt whether the time stamps on stdout on every line are useful at all, or indeed, whether most of the output is really useful (especially with the detailed.log readily available) ;) |
Colored output on the terminal would be awesome :-) |
We can always add the quiet flag |
At #1279 (review) Igor suggested adjusting whether the timestamps are printed based on whether we're using a TTY. |
I am also getting annoyed by the timestamps from time to time. How about the following rather stupid solution: Remove the timestamps and write a wrapper script for |
Obviously, someone has thought about this too: https://serverfault.com/questions/310098/how-to-add-a-timestamp-to-bash-script-log |
Why not just make this configurable in the Scala logging? Why would we move it into a wrapper script? |
oh, actually you are right! I am overcomplicating things 🤦 |
I'll take this ticket! Seems we are more motivated to get it done now, and I think it should be fairly straightforward. |
Oh, and I'm already assigned, lol :) |
When a user isn't concerned with the timestamps that indicate how long steps take to run, this part of the output can add noisy and non-deterministic output that doesn't add value. It could be useful to add a way to silence this when desired.
This would be useful, for instance, in cleaning up our integration tests.
See #270 (comment) for context.
The text was updated successfully, but these errors were encountered: