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

feat: slightly improve node log lines #1916

Merged
merged 5 commits into from
Apr 16, 2024

Conversation

zivkovicmilos
Copy link
Member

Description

This PR improves the log lines produced by the node binary.

Before:
cast2

After:
cast1

Contributors' checklist...
  • Added new tests, or not needed, or not feasible
  • Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory
  • Updated the official documentation or not needed
  • No breaking changes were made, or a BREAKING CHANGE: xxx message was included in the description
  • Added references to related issues and PRs
  • Provided any useful hints for running manual tests
  • Added new benchmarks to generated graphs, if any. More info here.

@zivkovicmilos zivkovicmilos self-assigned this Apr 11, 2024
@github-actions github-actions bot added 📦 🌐 tendermint v2 Issues or PRs tm2 related 📦 ⛰️ gno.land Issues or PRs gno.land package related labels Apr 11, 2024
Copy link

codecov bot commented Apr 11, 2024

Codecov Report

Attention: Patch coverage is 22.22222% with 7 lines in your changes are missing coverage. Please review.

Project coverage is 47.77%. Comparing base (b63e5ed) to head (88126fd).

Files Patch % Lines
gno.land/pkg/gnoland/app.go 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1916      +/-   ##
==========================================
+ Coverage   45.10%   47.77%   +2.67%     
==========================================
  Files         464      393      -71     
  Lines       68000    61630    -6370     
==========================================
- Hits        30669    29443    -1226     
+ Misses      34759    29717    -5042     
+ Partials     2572     2470     -102     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@gfanton gfanton left a comment

Choose a reason for hiding this comment

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

There could be an issue with the JSON log (refer to my comment).

Otherwise, LGTM! 👍

gno.land/cmd/gnoland/start.go Show resolved Hide resolved
@zivkovicmilos zivkovicmilos merged commit 56100a7 into gnolang:master Apr 16, 2024
186 of 187 checks passed
@zivkovicmilos zivkovicmilos deleted the feat/clean-up-logs branch April 16, 2024 16:23
omarsy pushed a commit to TERITORI/gno that referenced this pull request Apr 16, 2024
## Description

This PR improves the log lines produced by the node binary.

Before:

![cast2](https://github.com/gnolang/gno/assets/16712663/84d0b570-e7a3-410a-bb93-f20581d95e71)


After:

![cast1](https://github.com/gnolang/gno/assets/16712663/bdca272d-9c2a-4249-8f70-a0c383bd7e6c)


<details><summary>Contributors' checklist...</summary>

- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
</details>
____ _____ ____ / /___ _____ ____/ /
/ __ %c/ __ \/ __ \/ / __ %c/ __ \/ __ /
/ /_/ / / / / /_/ / / /_/ / / / / /_/ /
\__, /_/ /_/\____/_/\__,_/_/ /_/\__,_/
Copy link
Member

Choose a reason for hiding this comment

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

nit picking, but...

doesn't match my water bottle because that one says gno.land (emphasis on the full stop), pls fix 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 🌐 tendermint v2 Issues or PRs tm2 related 📦 ⛰️ gno.land Issues or PRs gno.land package related
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants