notedeck

One damus client to rule them all
git clone git://jb55.com/notedeck
Log | Files | Refs | README | LICENSE

commit b917d480154beef4bad07df9ff8ffd196de86b42
parent 1c8b68c334a38e2d71c446b464a8447538541736
Author: William Casarin <jb55@jb55.com>
Date:   Sun, 28 Jul 2024 13:03:11 -0500

log: reduce ping/pong verbosity

Signed-off-by: William Casarin <jb55@jb55.com>

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

diff --git a/src/app.rs b/src/app.rs @@ -31,7 +31,7 @@ use std::collections::HashSet; use std::hash::Hash; use std::path::Path; use std::time::Duration; -use tracing::{debug, error, info, warn}; +use tracing::{debug, error, info, trace, warn}; #[derive(Debug, Eq, PartialEq, Clone)] pub enum DamusState { @@ -221,7 +221,7 @@ fn try_process_event(damus: &mut Damus, ctx: &egui::Context) -> Result<()> { // TODO: handle reconnects RelayEvent::Closed => warn!("{} connection closed", &relay), RelayEvent::Error(e) => error!("{}: {}", &relay, e), - RelayEvent::Other(msg) => debug!("other event {:?}", &msg), + RelayEvent::Other(msg) => trace!("other event {:?}", &msg), RelayEvent::Message(msg) => process_message(damus, &relay, &msg), } }