From 9db5a26b9c2c97bf0da10fb9bf0e0f6deed0acec Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sat, 5 Nov 2022 16:11:20 -0500 Subject: [PATCH] refactor: more consistent logging messages --- src/db.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db.rs b/src/db.rs index f31fba4..dbd80a9 100644 --- a/src/db.rs +++ b/src/db.rs @@ -218,7 +218,7 @@ pub async fn db_writer( if event.kind >= 20000 && event.kind < 30000 { bcast_tx.send(event.clone()).ok(); info!( - "published ephemeral event {:?} from {:?} in {:?}", + "published ephemeral event: {:?} from: {:?} in: {:?}", event.get_event_id_prefix(), event.get_author_prefix(), start.elapsed() @@ -231,7 +231,7 @@ pub async fn db_writer( trace!("ignoring duplicate or deleted event"); } else { info!( - "persisted event {:?} from {:?} in {:?}", + "persisted event: {:?} from: {:?} in: {:?}", event.get_event_id_prefix(), event.get_author_prefix(), start.elapsed()