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

remove unwanted log message #120

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

remove unwanted log message #120

wants to merge 2 commits into from

Conversation

integrii
Copy link

@integrii integrii commented May 12, 2017

When you have a nice program with a spinner watching a file, this print ruins the output. In general, packages should avoid printing to console and instead return output so that the decision to display output can be made upstream. For now, it would make sense to pull this message out.

Example:

⠋ Watching for fatal in api.log 2017/05/12 00:00:11 Seeked api.log - &{Offset:0 Whence:2}
⠙ Watching for fatal in api.log

When you have a nice spinner, this echo screws up output.  In general, packages should try to pass output as returns, leaving it up to the main program to decide what to output.

> 
> ⠋ Watching for fatal in api.log 2017/05/12 00:00:11 Seeked api.log - &{Offset:0 Whence:2}
> ⠼ Watching for fatal in api.log
@Nino-K
Copy link
Contributor

Nino-K commented Jul 7, 2017

@integrii Thanks for your contribution. I like the change you made and more than happy to merge it in, but can we actually remove the line as oppose to commenting it out?

@integrii
Copy link
Author

Done!

@integrii
Copy link
Author

integrii commented Dec 2, 2017

Looks like this build exploded for reasons outside of the change. Re-opening request.

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