Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
relayd: fix deferring connections log
To:
tech@openbsd.org
Date:
Sun, 2 Aug 2026 14:12:09 +0200

Download raw body.

Thread
log_debug is so stupid here. This is a real problem, and no user can
currently find it in the logs (see my other diffs).

log_debug can only be enabled by using "-v". If you run it as a daemon,
it isn't visible and your relayd setup has real problems. There are
other places where we print nothing too, but this one is really
ridiculous!


diff --git a/relay.c b/relay.c
index 6992900..4324daa 100644
--- a/relay.c
+++ b/relay.c
@@ -1132,7 +1132,7 @@ relay_accept(int fd, short event, void *arg)
 
 			event_del(&rlay->rl_ev);
 			evtimer_add(&rlay->rl_evt, &evtpause);
-			log_debug("%s: deferring connections", __func__);
+			log_warn("%s: deferring connections", __func__);
 		}
 		return;
 	}