From 47686b5136f68b3acf14b8f96b00d75691d16fea Mon Sep 17 00:00:00 2001 From: Yukino Song Date: Tue, 13 May 2025 23:10:33 +0800 Subject: [PATCH] Add some verbose logs --- src/nvhttp.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/nvhttp.cpp b/src/nvhttp.cpp index 01d90cf0..3a7c0338 100644 --- a/src/nvhttp.cpp +++ b/src/nvhttp.cpp @@ -1137,6 +1137,9 @@ namespace nvhttp { auto named_cert_p = get_verified_cert(request); auto perm = PERM::launch; + BOOST_LOG(verbose) << "Launching app [" << appid_str << "] with UUID [" << appuuid_str << "]"; + // BOOST_LOG(verbose) << "QS: " << request->query_string; + // If we have already launched an app, we should allow clients with view permission to join the input only or current app's session. if ( current_appid > 0 @@ -1232,6 +1235,9 @@ namespace nvhttp { } else if (appid > 0 || !appuuid_str.empty()) { if (appid == current_appid || (!appuuid_str.empty() && appuuid_str == current_app_uuid)) { // We're basically resuming the same app + + BOOST_LOG(debug) << "Resuming app [" << proc::proc.get_last_run_app_name() << "] from launch app path..."; + if (!proc::proc.allow_client_commands) { launch_session->client_do_cmds.clear(); launch_session->client_undo_cmds.clear();