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

[LocalNet] Switch validator logs to json #480

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

okdas
Copy link
Member

@okdas okdas commented Apr 11, 2024

Summary

JSON logs are easier to run queries against. Let's switch to json by default (just like appgate-server and relayminer) but allow modifying the log format and log level via localnet_config.yaml

Related helm chart feature: https://github.com/pokt-network/helm-charts/pull/33/files

Type of change

Select one or more:

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Documentation
  • Other (specify)

Testing

  • Unit Tests: make go_develop_and_test
  • LocalNet E2E Tests: make test_e2e
  • DevNet E2E Tests: Add the devnet-test-e2e label to the PR. THIS IS VERY EXPENSIVE, so only do it after all the reviews are complete.
  • Documentation changes: make docusaurus_start

Sanity Checklist

  • I have tested my changes using the available tooling
  • I have commented my code
  • I have performed a self-review of my own code; both comments & source code
  • I create and referenced any new tickets, if applicable
  • I have left TODOs throughout the codebase, if applicable

@okdas okdas self-assigned this Apr 11, 2024
@okdas okdas added infra Infra or tooling related improvements, additions or fixes tooling Tooling - CLI, scripts, helpers, off-chain, etc... labels Apr 11, 2024
@okdas okdas added this to the Shannon Private TestNet milestone Apr 11, 2024
@okdas okdas marked this pull request as ready for review April 11, 2024 19:37
Copy link
Contributor

@bryanchriswhite bryanchriswhite left a comment

Choose a reason for hiding this comment

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

Thank you sir!

@okdas
Copy link
Member Author

okdas commented Apr 11, 2024

@Olshansk I'm going to merge this but lmk if you'd like to change anything.

@okdas okdas merged commit e391dd9 into main Apr 11, 2024
11 checks passed
bryanchriswhite added a commit that referenced this pull request Apr 12, 2024
…ment

* pokt/main:
  Update test instructions pull_request_template.md (#473)
  [Tooling] Makefile checkers when starting localnet (#466)
  [LocalNet] Switch validator logs to json (#480)
bryanchriswhite added a commit that referenced this pull request Apr 17, 2024
* pokt/main:
  [TODOs] Add todos for future smt optimizations (#423)
  [Metrics] feat: Initial on-chain metrics implementation (#449)
  [Tooling] Add application stake/unstake/delegate logs (#482)
  [SMT] Updated smt release from v0.9.2 -> v0.10.2 (#472)
  [Docs] update supplier actor CLI section (#471)
  [Testing] chore: add make targets & update feature path logging (#470)
  [Metrics] Additional off-chain metrics (#468)
  Update test instructions pull_request_template.md (#473)
  [Tooling] Makefile checkers when starting localnet (#466)
  [LocalNet] Switch validator logs to json (#480)
  [Documentation] Refactor poktroll documentation so its easier to navigate (#474)
  [LocalNet] Add observability stack (#475)
@Olshansk Olshansk deleted the localnet-grafana-validator-logs branch May 29, 2024 16:45
okdas added a commit that referenced this pull request Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra Infra or tooling related improvements, additions or fixes tooling Tooling - CLI, scripts, helpers, off-chain, etc...
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants