Skip to content

feat: Add additional logging from bitcoin canister in replica.#2318

Merged
mergify[bot] merged 3 commits intomasterfrom
ielashi/bitcoin_debug_overrides
Jul 12, 2022
Merged

feat: Add additional logging from bitcoin canister in replica.#2318
mergify[bot] merged 3 commits intomasterfrom
ielashi/bitcoin_debug_overrides

Conversation

@ielashi
Copy link
Contributor

@ielashi ielashi commented Jul 6, 2022

Description

Configures the replica to emit additional logging from the bitcoin
canister whenever the bitcoin feature is enabled. This helps show
useful information to developers, such as the bitcoin height that
the replica currently sees.

Fixes # EXC-1131

How Has This Been Tested?

Ran it locally with a bitcoin enabled project and verified that I'm seeing
the logs from the bitcoin canister that I'm expecting to see.

Checklist:

  • The title of this PR complies with Conventional Commits.
  • I have edited the CHANGELOG accordingly.
  • I have made corresponding changes to the documentation.

ielashi added 2 commits July 6, 2022 10:07
Configures the replica to emit additional logging from the bitcoin
canister whenever the bitcoin feature is enabled. This helps show
useful information to developers, such as the bitcoin height that
the replica currently sees.

Closes EXC-1131
@ielashi ielashi requested a review from a team as a code owner July 6, 2022 08:13
@ielashi ielashi requested review from a user and viviveevee July 6, 2022 08:13
@viviveevee
Copy link
Contributor

Does this play nicely with #2310?

@ielashi
Copy link
Contributor Author

ielashi commented Jul 6, 2022

Does this play nicely with #2310?

Yes, this is different. #2310 configures the logging level of the bitcoin adapter. This PR configures the logging level of the bitcoin canister, which lives inside the replica. For the latter it suffices to hard-code its logging level, which this PR is doing.

@ielashi
Copy link
Contributor Author

ielashi commented Jul 6, 2022

Note that this cannot be merged in master yet until we upgrade the replica version being used to something that includes this commit: dfinity/ic@901226d

@ghost ghost added the automerge-squash label Jul 12, 2022
@mergify mergify bot merged commit 5eea226 into master Jul 12, 2022
@mergify mergify bot deleted the ielashi/bitcoin_debug_overrides branch July 12, 2022 17:56
ghost pushed a commit that referenced this pull request Jul 13, 2022
mergify bot pushed a commit that referenced this pull request Jul 13, 2022
…replica." (#2342)

Reverts #2318

This change is preventing us from updating to the latest hotfix replica (example: #2341 and [build failure](https://github.com/dfinity/sdk/runs/7326295725?check_suite_focus=true#step:8:1357)).  Will re-incorporate this change when future replica releases support it.
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.

2 participants