-
Notifications
You must be signed in to change notification settings - Fork 234
Description
Do you want to request a feature or report a bug?
Feature!
What is the current behavior?
heroku logs --tail/-tis used to stream the latest logs, whileheroku logs --follow/-fis not recognized
What is the expected behavior?
heroku logs --follow/-fcan be used to stream the latest logs
Background
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", the tail 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 in tail 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 the tail command when trying to do this, I almost always end up typing heroku logs -f which doesn't work. Since the flag isn't otherwise taken, would it be possible to add that as an additional alias?