Disable logging for the event schema
@@ -131,12 +131,12 @@ impl<'a, 'c> EventSchema<'a, 'c> {
let block_details = match block_details.into_iter().next() {
Some(block_details) => block_details,
None => {
- vlog::warn!(
- "Couldn't create block event, no block details found in the database. \
- Block number: {}, status: {:?}",
- *block_number,
- status
- );
+ // vlog::warn!(
+ // "Couldn't create block event, no block details found in the database. \
+ // Block number: {}, status: {:?}",
+ // *block_number,
+ // status
+ // );
return Ok(());
}
};
@@ -252,11 +252,11 @@ impl<'a, 'c> EventSchema<'a, 'c> {
{
Ok(account_id) => account_id,
_ => {
- vlog::warn!(
- "Couldn't create transaction event, no account id exists \
- in the database. Operation: {:?}",
- executed_operation
- );
+ // vlog::warn!(
+ // "Couldn't create transaction event, no account id exists \
+ // in the database. Operation: {:?}",
+ // executed_operation
+ // );
continue;
}
};
@@ -311,11 +311,11 @@ impl<'a, 'c> EventSchema<'a, 'c> {
{
Ok(account_id) => account_id,
_ => {
- vlog::warn!(
- "Couldn't create transaction event, no account id exists \
- in the database. Operation: {:?}",
- rejected_tx
- );
+ // vlog::warn!(
+ // "Couldn't create transaction event, no account id exists \
+ // in the database. Operation: {:?}",
+ // rejected_tx
+ // );
continue;
}
};
