From da04924da1ed92b59649645d5bb6ffd26c858dc8 Mon Sep 17 00:00:00 2001 From: Thomas Eizinger Date: Fri, 13 Dec 2024 03:48:02 +1100 Subject: [PATCH] chore(relay): downgrade log on missing allocation for REFRESH (#7490) Attempting to refresh an allocation is the only idempotent way in TURN to test whether one has an active allocation. As such, logging this on WARN is too aggressive. Resolves: #7481. --- rust/relay/src/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust/relay/src/server.rs b/rust/relay/src/server.rs index d79d00eae..04f7eeb63 100644 --- a/rust/relay/src/server.rs +++ b/rust/relay/src/server.rs @@ -603,7 +603,7 @@ where // TODO: Verify that this is the correct error code. let Some(allocation) = self.allocations.get_mut(&sender) else { let (error_response, msg) = make_error_response(AllocationMismatch, &request); - tracing::warn!(target: "relay", "{msg}: Sender doesn't have an allocation"); + tracing::info!(target: "relay", "{msg}: Sender doesn't have an allocation"); return Err(error_response); };