diff --git a/chain/ethereum/src/polling_block_stream.rs b/chain/ethereum/src/polling_block_stream.rs index 9802f7b7d5d..b10f1976d6c 100644 --- a/chain/ethereum/src/polling_block_stream.rs +++ b/chain/ethereum/src/polling_block_stream.rs @@ -14,7 +14,7 @@ use graph::blockchain::block_stream::{ use graph::blockchain::{Block, BlockPtr, TriggerFilterWrapper}; use graph::futures03::{stream::Stream, Future, FutureExt}; use graph::prelude::{DeploymentHash, BLOCK_NUMBER_MAX}; -use graph::slog::{debug, info, trace, warn, Logger}; +use graph::slog::{info, trace, warn, Logger}; use graph::components::store::BlockNumber; use graph::data::subgraph::UnifiedMappingApiVersion; @@ -516,9 +516,12 @@ impl Stream for PollingBlockStream { total_triggers as f64 / block_range_size as f64; self.ctx.previous_block_range_size = block_range_size; if total_triggers > 0 { - debug!( + info!( self.ctx.logger, - "Processing {} triggers", total_triggers + "Found {} triggers in {} blocks with a block range of {}", + total_triggers, + next_blocks.len(), + block_range_size ); } diff --git a/core/src/subgraph/runner.rs b/core/src/subgraph/runner.rs index cca0e59e22b..0e647b8aa3f 100644 --- a/core/src/subgraph/runner.rs +++ b/core/src/subgraph/runner.rs @@ -595,7 +595,7 @@ where "block_hash" => format!("{}", block_ptr.hash) )); - debug!(logger, "Start processing block"; + info!(logger, "Start processing block"; "triggers" => triggers.len()); let proof_of_indexing = diff --git a/runtime/wasm/src/host.rs b/runtime/wasm/src/host.rs index aa079381a94..f1a44466bec 100644 --- a/runtime/wasm/src/host.rs +++ b/runtime/wasm/src/host.rs @@ -209,7 +209,7 @@ where // If there is an error, "gas_used" is incorrectly reported as 0. let gas_used = result.as_ref().map(|(_, gas)| gas).unwrap_or(&Gas::ZERO); - info!( + debug!( logger, "Done processing trigger"; &extras, "total_ms" => elapsed.as_millis(), @@ -277,7 +277,7 @@ where // If there is an error, "gas_used" is incorrectly reported as 0. let gas_used = result.as_ref().map(|(_, gas)| gas).unwrap_or(&Gas::ZERO); - info!( + debug!( logger, "Done processing wasm block"; "block_ptr" => &block_ptr, "total_ms" => elapsed.as_millis(),