Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Undo WARN log workaround #1196

Merged
merged 1 commit into from
Jul 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions eqs/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use cap_rust_sandbox::{
};

pub async fn run(opt: &EQSOptions) -> std::io::Result<()> {
tracing::warn!("Starting EQS");
tracing::info!("Starting EQS");

if !opt.temp_test_run {
let provider = get_provider_from_url(opt.rpc_url());
Expand All @@ -49,7 +49,7 @@ pub async fn run(opt: &EQSOptions) -> std::io::Result<()> {
}),
));
let toc = std::time::Instant::now();
tracing::warn!("Restored state in {:?}", toc - tic);
tracing::info!("Restored state in {:?}", toc - tic);
(state_persistence, query_result_state)
};

Expand Down
2 changes: 1 addition & 1 deletion eqs/src/eth_polling.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ impl EthPolling {
let current_log_index = meta.log_index.as_u64();
let current_index = (current_block, current_log_index);

tracing::warn!(
tracing::info!(
"Processing block {} event {}",
current_block,
current_log_index,
Expand Down
2 changes: 1 addition & 1 deletion eqs/src/state_persistence.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ impl StatePersistence {
self.atomic_store.commit_version().unwrap();
self.state_snapshot.prune_file_entries().unwrap();
let toc = std::time::Instant::now();
tracing::warn!("Persisting state took {:?}", toc - tic);
tracing::info!("Persisting state took {:?}", toc - tic);
}

pub fn load_latest_state(&self) -> Result<QueryResultState, PersistenceError> {
Expand Down