From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 12 Feb 2022 13:39:19 +0000 (+0000) Subject: Don't try to decode commands at debug level 2 -- leave it to level 3. X-Git-Tag: 4.1-rc1~24^2~283 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4848608dd554abb8da439ce1daca8d3a492606d8;p=thirdparty%2Fshairport-sync.git Don't try to decode commands at debug level 2 -- leave it to level 3. --- diff --git a/rtsp.c b/rtsp.c index b8d5ad18..444a6594 100644 --- a/rtsp.c +++ b/rtsp.c @@ -2271,7 +2271,7 @@ void handle_feedback(__attribute__((unused)) rtsp_conn_info *conn, void handle_command(__attribute__((unused)) rtsp_conn_info *conn, rtsp_message *req, __attribute__((unused)) rtsp_message *resp) { - debug_log_rtsp_message(2, "POST /command", req); + debug_log_rtsp_message(3, "POST /command", req); if (rtsp_message_contains_plist(req)) { plist_t command_dict = NULL; plist_from_memory(req->content, req->contentlength, &command_dict); @@ -2305,7 +2305,7 @@ void handle_command(__attribute__((unused)) rtsp_conn_info *conn, rtsp_message * if (subsidiary_plist) { char *printable_plist = plist_content(subsidiary_plist); if (printable_plist) { - debug(2, "\n%s", printable_plist); + debug(3, "\n%s", printable_plist); free(printable_plist); } else { debug(1, "Can't print the plist!");