Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion core-client/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1449,7 +1449,7 @@ pub async fn execute_cmd(
.collect::<Vec<String>>();

for path_to_config in path_iter {
tracing::info!("Using config file: {:?}", &path_to_config);
tracing::debug!("Using config file: {:?}", &path_to_config);
Comment thread
dvdplm marked this conversation as resolved.
Outdated

let mut inner_cc_conf: CoreClientConfig = Settings::builder()
.path(path_to_config)
Expand Down
4 changes: 2 additions & 2 deletions core/service/src/cryptography/signatures.rs
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,10 @@ pub fn recover_address_from_ext_signature<S: SolStruct>(
);

let hash = data.eip712_signing_hash(domain);
tracing::info!("Public Data EIP-712 Message hash: {:?}", hash);
tracing::debug!("Public Data EIP-712 Message hash: {:?}", hash);

let addr = sig.recover_address_from_prehash(&hash)?;
tracing::info!("Reconstructed address: {}", addr);
tracing::debug!("Reconstructed address: {}", addr);

Ok(addr)
}
Expand Down
2 changes: 1 addition & 1 deletion core/service/src/engine/threshold/service/epoch_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ impl<

session_maker.add_epoch(*epoch_id, prss).await;

tracing::info!(
tracing::debug!(
Comment thread
dvdplm marked this conversation as resolved.
Outdated
"PRSS on epoch ID {} completed successfully for identity {}.",
epoch_id,
own_identity
Expand Down
4 changes: 2 additions & 2 deletions core/service/src/engine/threshold/threshold_kms.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ impl<
health_reporter
.set_not_serving::<CoreServiceEndpointServer<Self>>()
.await;
tracing::info!("Sat not serving");
tracing::trace!("Set not serving");
tracker.close();
tracker.wait().await;
mpc_abort_handle.abort();
Expand Down Expand Up @@ -211,7 +211,7 @@ impl<EP: Sync, UD: Sync, PD: Sync, KG: Sync, PP: Sync, CG: Sync, CM: Sync, BO: S
health_reporter
.set_not_serving::<CoreServiceEndpointServer<Self>>()
.await;
tracing::info!("Sat not serving");
tracing::trace!("Set not serving");
tracker.close();
tracker.wait().await;
mpc_abort_handle.abort();
Expand Down
2 changes: 1 addition & 1 deletion core/service/src/vault/storage/crypto_material/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ pub fn log_data_exists<T: Display, U: Display, V: Display>(
storage_info,
pub_info
),
None => tracing::info!(
None => tracing::warn!(
"{} with ID {} already exist, skipping generation",
data_type,
id
Expand Down
4 changes: 2 additions & 2 deletions core/service/src/vault/storage/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ impl FileStorage {
) -> anyhow::Result<HashSet<RequestId>> {
if !path.try_exists()? {
// If the path does not exist, then return an empty hashmap.
tracing::info!(
tracing::debug!(
Comment thread
dvdplm marked this conversation as resolved.
Outdated
"The path {} does not exist, returning an empty map of URLs",
path.display(),
);
Expand Down Expand Up @@ -348,7 +348,7 @@ impl StorageExt for FileStorage {
);
return Ok(StoreWriteOutcome::SkippedExisting);
}
tracing::info!(
tracing::debug!(
Comment thread
dvdplm marked this conversation as resolved.
Outdated
"Storing data {} at epoch {:?} at path {}",
data_type,
epoch_id,
Expand Down
4 changes: 2 additions & 2 deletions core/service/src/vault/storage/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ pub async fn delete_at_request_id<S: Storage>(
))
})
} else {
tracing::info!(
tracing::debug!(
Comment thread
dvdplm marked this conversation as resolved.
Outdated
"Tried to delete data with ID {} and type {}, but did not exist",
request_id,
data_type
Expand Down Expand Up @@ -400,7 +400,7 @@ pub async fn delete_at_request_and_epoch_id<S: StorageExt>(
))
})
} else {
tracing::info!(
tracing::debug!(
Comment thread
dvdplm marked this conversation as resolved.
Outdated
"Tried to delete data with ID {} and epoch {} and type {}, but did not exist",
request_id,
epoch_id,
Expand Down
10 changes: 5 additions & 5 deletions observability/src/conf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ impl<'de> Deserialize<'de> for RetryConfig {
}

let helper = RetryConfigHelper::deserialize(deserializer)?;
println!(
debug!(
Comment thread
dvdplm marked this conversation as resolved.
Outdated
"Deserializing RetryConfig: max_retries={:?}, initial_delay_ms={:?}, max_delay_ms={:?}",
helper.max_retries, helper.initial_delay_ms, helper.max_delay_ms,
);
Expand Down Expand Up @@ -279,7 +279,7 @@ fn mode() -> ExecutionEnvironment {
let res = env::var("RUN_MODE")
.map(|enum_str| ExecutionEnvironment::from_str(enum_str.as_str()).unwrap_or_default())
.unwrap_or_else(|_| ExecutionEnvironment::Local);
println!("RUN_MODE={res}");
debug!("RUN_MODE={res}");
res
}

Expand All @@ -290,12 +290,12 @@ impl Settings<'_> {
///
/// Returns an error if the configuration cannot be created or deserialized.
pub fn init_conf<'de, T: Deserialize<'de> + std::fmt::Debug>(&self) -> Result<T, ConfigError> {
println!(
debug!(
"Initializing configuration with prefix: {}",
self.env_prefix
);
if let Some(path) = self.path {
println!("Using config file: {path}");
debug!("Using config file: {path}");
}

// NOTE: Environment variables that correspond to a sequence,
Expand Down Expand Up @@ -343,7 +343,7 @@ impl Settings<'_> {

let settings: T = config.try_deserialize()?;

tracing::info!("DEBUG: SETTINGS: {:?}", settings);
debug!("DEBUG: SETTINGS: {:?}", settings);

Ok(settings)
}
Expand Down
Loading