fix(air): demote some AquaVM logging statements (#505)

Users complain that `warn` level produces lot of unnecessary logs.

+ join behavior logging is demoted to `trace`;
+ xor logging is demoted to `trace`;
+ service error logging is demoted to `debug`.
This commit is contained in:
Ivan Boldyrev
2023-03-11 01:09:23 +07:00
committed by GitHub
parent cb9c426a35
commit 271b74d8f2
3 changed files with 3 additions and 3 deletions

View File

@ -125,7 +125,7 @@ impl LastErrorAffectable for CatchableError {
macro_rules! log_join { macro_rules! log_join {
($($args:tt)*) => { ($($args:tt)*) => {
log::info!(target: air_log_targets::JOIN_BEHAVIOUR, $($args)*) log::trace!(target: air_log_targets::JOIN_BEHAVIOUR, $($args)*)
} }
} }

View File

@ -68,7 +68,7 @@ fn set_last_error<'i>(
None => exec_ctx.run_parameters.current_peer_id.to_string(), None => exec_ctx.run_parameters.current_peer_id.to_string(),
}; };
log::warn!( log::debug!(
"call failed with an error `{}`, peerId `{}`", "call failed with an error `{}`, peerId `{}`",
catchable_error, catchable_error,
current_peer_id current_peer_id

View File

@ -49,5 +49,5 @@ fn print_xor_log(e: &ExecutionError) {
return; return;
} }
log::warn!("xor caught an error: {}", e); log::trace!("xor caught an error: {}", e);
} }