nostr-rs-relay

My dev fork of nostr-rs-relay
git clone git://jb55.com/nostr-rs-relay
Log | Files | Refs | README | LICENSE

commit 9db5a26b9c2c97bf0da10fb9bf0e0f6deed0acec
parent ac345b5744ccf97919562063ab371ee835e43fd0
Author: Greg Heartsfield <scsibug@imap.cc>
Date:   Sat,  5 Nov 2022 16:11:20 -0500

refactor: more consistent logging messages

Diffstat:
Msrc/db.rs | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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()