From 5f9528862b0110ae35e7405cee3b3a80377f2cd9 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 27 May 2026 21:22:15 +0200 Subject: [PATCH] chore(logging): drop noisy orphan client_inbounds warning Per-row WARNINGs spammed logs whenever a client referenced multiple already-deleted inbounds. The continue keeps the orphan-tolerant behavior; just no longer announces each skipped row. --- web/service/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/web/service/client.go b/web/service/client.go index 9d0dba85..2b95757d 100644 --- a/web/service/client.go +++ b/web/service/client.go @@ -679,7 +679,6 @@ func (s *ClientService) Delete(inboundSvc *InboundService, id int, keepTraffic b inbound, getErr := inboundSvc.GetInbound(ibId) if getErr != nil { if errors.Is(getErr, gorm.ErrRecordNotFound) { - logger.Warningf("Delete: skipping orphan client_inbounds row for client_id=%d, inbound_id=%d (inbound missing)", id, ibId) continue } return needRestart, getErr