Skip to content

Commit

Permalink
chore: remove excess pb-ws logs (#1370)
Browse files Browse the repository at this point in the history
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
  • Loading branch information
NathanFlurry committed Nov 18, 2024
1 parent e0d2b98 commit 861c94e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/services/pegboard/standalone/ws/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ async fn handle_connection(
raw_stream: TcpStream,
addr: SocketAddr,
) {
tracing::info!(?addr, "new connection");
tracing::debug!(?addr, "new connection");

let ctx = ctx.clone();

Expand Down Expand Up @@ -119,7 +119,7 @@ async fn setup_connection(
// Bootleg way of reading the uri
uri = Some(req.uri().clone());

tracing::info!(?addr, ?uri, "handshake");
tracing::debug!(?addr, ?uri, "handshake");

Ok(res)
},
Expand Down Expand Up @@ -270,7 +270,7 @@ async fn upsert_client(
}

if exists == deleted {
tracing::info!(?client_id, "new client");
tracing::info!(?client_id, ?datacenter_id, ?flavor, "new client");

// Spawn a new client workflow
ctx.workflow(pegboard::workflows::client::Input { client_id })
Expand Down

0 comments on commit 861c94e

Please sign in to comment.