From 4848608dd554abb8da439ce1daca8d3a492606d8 Mon Sep 17 00:00:00 2001 From: Mike Brady <4265913+mikebrady@users.noreply.github.com> Date: Sat, 12 Feb 2022 13:39:19 +0000 Subject: [PATCH] Don't try to decode commands at debug level 2 -- leave it to level 3. --- rtsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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!");