-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
logcli query: provider -f/--follow as alias for --tail #3570
Comments
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
2 months without any response 😢 |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Still relevant. |
This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions. |
Not stale please |
Created #4203 to address it. |
When using 'logcli query --tail', '--tail' behaves similar to the 'tail' command, which uses '--follow' flag, if you want to continuously follow the appended data to the file. I believe '--follow' flag is more natural for system administrators to use rather than '--tail' if one wants to "follow" the incoming logs, so this commit adds one, as an alias for '--tail'. Closes grafana#3570 Signed-off-by: Mateusz Gozdek <[email protected]>
When using 'logcli query --tail', '--tail' behaves similar to the 'tail' command, which uses '--follow' flag, if you want to continuously follow the appended data to the file. I believe '--follow' flag is more natural for system administrators to use rather than '--tail' if one wants to "follow" the incoming logs, so this commit adds one, as an alias for '--tail'. Closes #3570 Signed-off-by: Mateusz Gozdek <[email protected]>
Is your feature request related to a problem? Please describe.
When using
tail
, which I assume--tail
flags refers to, by default get only the last N lines of the file. If you add-f
or--follow
, you continuously follow the content appearing to the end of the file.To provide better UX for system administrators, it would be nice to have a consistent UX between
tail
andlogcli query
, which shares some functionality.Describe the solution you'd like
I propose to either add an alias for
--tail
option as--follow
or use it to replace--tail
option all together, as I think it's name is confusing right now.logcli query
behavior is tail-like by default (get last N log lines).The text was updated successfully, but these errors were encountered: