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

zk lightnet logs command implementation. #520

Merged
merged 10 commits into from
Nov 29, 2023
Merged

zk lightnet logs command implementation. #520

merged 10 commits into from
Nov 29, 2023

Conversation

shimkiv
Copy link
Member

@shimkiv shimkiv commented Nov 19, 2023

  • zk lightnet logs save command does not provide any selection options, because usually it is good idea to grab all relevant logs at certain point in time.
  • zk lightnet logs follow command, on the contrary, gives users an option to follow the logs of certain processes, well, because you can't simply follow several files without introducing additional complexity (logs from different sources pre-processing) and a bit of mess when you will also need to distinguish which entries are from what processes.

Closes #502


As per the RFC.

@shimkiv shimkiv marked this pull request as ready for review November 19, 2023 19:22
Copy link
Collaborator

@ymekuria ymekuria left a comment

Choose a reason for hiding this comment

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

Great work @shimkiv! I approved this, but I have a question and some suggestions. I will leave it up to you if you want to implement the suggestions or not.

src/lib/lightnet.js Outdated Show resolved Hide resolved
src/lib/lightnet.js Outdated Show resolved Hide resolved
src/lib/lightnet.js Outdated Show resolved Hide resolved
src/lib/lightnet.js Outdated Show resolved Hide resolved
Copy link
Collaborator

@ymekuria ymekuria left a comment

Choose a reason for hiding this comment

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

Nice refactor!

@shimkiv shimkiv merged commit 2d625a5 into main Nov 29, 2023
12 checks passed
@shimkiv shimkiv deleted the lightnet-logs branch November 29, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

zk lightnet logs
2 participants