From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Tue, 13 Sep 2022 08:34:42 +0000 (+0100) Subject: Add a few debug messages to watch the RTSP connection. X-Git-Tag: 4.1-rc1~24^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=114c39d8a9717012550ca62c5d1e2ef1145da9dd;p=thirdparty%2Fshairport-sync.git Add a few debug messages to watch the RTSP connection. --- diff --git a/rtsp.c b/rtsp.c index 8cc36beb..4c05e394 100644 --- a/rtsp.c +++ b/rtsp.c @@ -1297,7 +1297,7 @@ enum rtsp_read_request_response rtsp_read_request(rtsp_conn_info *conn, rtsp_mes if (nread == 0) { // a blocking read that returns zero means eof -- implies connection closed - debug(3, "Connection %d: -- connection closed.", conn->connection_number); + debug(1, "Connection %d: connection closed.", conn->connection_number); reply = rtsp_read_request_response_channel_closed; goto shutdown; } @@ -5407,7 +5407,7 @@ void *rtsp_listen_loop(__attribute((unused)) void *arg) { inet_ntop(conn->connection_ip_family, self_addr, conn->self_ip_string, sizeof(conn->self_ip_string)); - debug(2, "Connection %d: new connection from %s:%u to self at %s:%u.", + debug(1, "Connection %d: new connection from %s:%u to self at %s:%u.", conn->connection_number, conn->client_ip_string, conn->client_rtsp_port, conn->self_ip_string, conn->self_rtsp_port); conn->connection_start_time = get_absolute_time_in_ns();