hpcloud / tail

Go package for reading from continously updated files (tail -f)
MIT License
2.71k stars 503 forks source link

remove unwanted log message #120

Open integrii opened 7 years ago

integrii commented 7 years ago

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

Nino-K commented 7 years ago

@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 commented 7 years ago

Done!

integrii commented 6 years ago

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