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

Support to output the last few logs. #27

Closed
JFRabbit opened this issue May 27, 2020 · 3 comments
Closed

Support to output the last few logs. #27

JFRabbit opened this issue May 27, 2020 · 3 comments
Assignees

Comments

@JFRabbit
Copy link

In general, only output last few logs can confirm fail reason, instead of output all logs when failed.
Some case steps are very huge, too much logs are not friendly, should use some option to limit quantity.

For example, user can set option to only output last 10 command or other type logs when case failed.

@archfz
Copy link
Owner

archfz commented May 27, 2020

It should be noted that sometimes the failing command is not even in the last 10 executed commands.

@archfz
Copy link
Owner

archfz commented May 27, 2020

Also there are cases where other commands higher up the chain cause or point to the reason of failure below. Like for example console.error.

Maybe what we could do is like display only failing commands and max N amount of logs around these failing commands, if this option is enabled.

@archfz archfz self-assigned this Jun 14, 2020
archfz added a commit that referenced this issue Jun 14, 2020
@archfz
Copy link
Owner

archfz commented Jun 14, 2020

@archfz archfz closed this as completed Jun 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants