Adding heroku logs --follow/-f
as an alias to heroku logs --tail/-f
#1912
Labels
heroku logs --follow/-f
as an alias to heroku logs --tail/-f
#1912
Do you want to request a feature or report a bug?
Feature!
What is the current behavior?
heroku logs --tail/-t
is used to stream the latest logs, whileheroku logs --follow/-f
is not recognizedWhat is the expected behavior?
heroku logs --follow/-f
can be used to stream the latest logsBackground
Sorry for being so pedantic 🥲 This keeps tripping me up so I thought I would open an issue, seems more productive than complaining on Twitter!
I think calling this mode
--tail
is a bit of a misnomer. While it is commonly accepted to call this operation "tailing the logs", thetail
command itself only shows the last N lines of a file and has little to do with this "live streaming of logs". It's really the--follow
flag intail
that enables this mode, so it seems more appropriate to call it the "follow mode" instead of the "tail mode".Because the
--follow/-f
flag is what you normally passes to thetail
command when trying to do this, I almost always end up typingheroku logs -f
which doesn't work. Since the flag isn't otherwise taken, would it be possible to add that as an additional alias?The text was updated successfully, but these errors were encountered: