Skip to content

Commit 64bbc65

Browse files
authored
linera-web: add a log output at the start of application queries (#4414)
## Motivation Help measure timings for benchmarking. ## Proposal Add a log line when we start an application query. ## Test Plan Tested manually. ## Release Plan - Nothing to do / These changes follow the usual release cycle. - These changes should be backported to the latest `devnet` branch, then - be released in a demo hotfix. - These changes should be backported to the latest `testnet` branch, then - be released in a demo hotfix. ## Links - [reviewer checklist](https://github.com/linera-io/linera-protocol/blob/main/CONTRIBUTING.md#reviewer-checklist)
1 parent ce02106 commit 64bbc65

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

linera-web/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -441,6 +441,7 @@ impl Application {
441441
// TODO(#14) allow passing bytes here rather than just strings
442442
// TODO(#15) a lot of this logic is shared with `linera_service::node_service`
443443
pub async fn query(&self, query: &str) -> JsResult<String> {
444+
tracing::debug!("querying application: {query}");
444445
let chain_client = self.client.default_chain_client().await?;
445446

446447
let linera_execution::QueryOutcome {

0 commit comments

Comments
 (0)