paritytech / paritytech/try-runtime-cli

Set log level of idempotency and PoV runtime output to DEBUG

Open
#56 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
25
Forks
29
PR merge metrics
No merged PRs in 30d

Description

          As a follow up: we can mock the host function `ext_logging_log_version_1` to silence the logs on the second run, or selectively set the target/level to make it less noisy.

Originally posted by @ggwpez in https://github.com/paritytech/try-runtime-cli/issues/48#issuecomment-1803761878

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the host function ext_logging_log_version_1 and the code that emits idempotency and PoV runtime output. Determine whether mocking the host function or selectively changing the target and level is supported; done means the second run is less noisy and these messages appear at DEBUG level.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.