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

log: log command initial implementation #867

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

psergee
Copy link
Collaborator

@psergee psergee commented Jun 16, 2024

tt log prints the last 10 lines of all instances logs by default. A user can specify an application or instance name and limit the number of lines using the --lines option.
image

Part of #251

@psergee psergee requested review from 0x501D and better0fdead June 16, 2024 21:04
@psergee psergee changed the title log: initial module implementation log: initial log command implementation Jun 16, 2024
@psergee psergee changed the title log: initial log command implementation log: log command initial implementation Jun 16, 2024
@psergee psergee force-pushed the psergee/gh-251-initial-log-implementation branch 6 times, most recently from 67f0444 to 7f4b25a Compare June 18, 2024 10:01
Copy link
Member

@0x501D 0x501D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@better0fdead better0fdead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

cli/tail/tail.go Outdated Show resolved Hide resolved
@psergee psergee force-pushed the psergee/gh-251-initial-log-implementation branch from 7f4b25a to 3a87f6f Compare June 18, 2024 19:37
Part of #251

@TarantoolBot document
Title: `tt log command`

This patch adds new `tt log` command.
By default this command prints last 10 lines of all instances logs.
A user can specify an application or instance name and limit the
number of lines using the `--lines` option.
With the `--follow` flag `tt log` prints logs as the log files
grow.
@psergee psergee force-pushed the psergee/gh-251-initial-log-implementation branch from 3a87f6f to 6987db7 Compare June 18, 2024 19:56
@psergee psergee added the full-ci Enables full ci tests label Jun 19, 2024
@psergee psergee merged commit b13b6d7 into master Jun 19, 2024
44 checks passed
@psergee psergee deleted the psergee/gh-251-initial-log-implementation branch June 19, 2024 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full-ci Enables full ci tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants