summaryrefslogtreecommitdiffstats
path: root/grpc-proxy
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2023-10-24 17:11:12 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2023-11-03 17:46:25 +0000
commit53b470c60986fcfc83dc3a5eafcd9370a7264086 (patch)
tree15224042b738860a186d29697c1ab67c2f879383 /grpc-proxy
parent0d2e33ded529d216bb5914887b2384e765e3eae7 (diff)
grpc-proxy: Fix missing args LOG()
These are not seen until enabling the DEBUG directive. Bug-AGL: SPEC-4912 Signed-off-by: Marius Vlad <marius.vlad@collabora.com> Change-Id: Ic18c701909975978e82ef811ade416d802e567b5
Diffstat (limited to 'grpc-proxy')
-rw-r--r--grpc-proxy/main-grpc.cpp2
-rw-r--r--grpc-proxy/shell.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/grpc-proxy/main-grpc.cpp b/grpc-proxy/main-grpc.cpp
index 5569fc8..ea75722 100644
--- a/grpc-proxy/main-grpc.cpp
+++ b/grpc-proxy/main-grpc.cpp
@@ -129,7 +129,7 @@ agl_shell_app_on_output(void *data, struct agl_shell *agl_shell,
(void) data;
(void) app_id;
- LOG("got app_on_output event app_id %s on output\n", app_id, output_name);
+ LOG("got app_on_output event app_id %s on output %s\n", app_id, output_name);
}
diff --git a/grpc-proxy/shell.cpp b/grpc-proxy/shell.cpp
index bc2df23..ec8997c 100644
--- a/grpc-proxy/shell.cpp
+++ b/grpc-proxy/shell.cpp
@@ -112,7 +112,7 @@ Shell::SetAppOnOutput(const std::string &app_id, const std::string &output)
}
if (!w_output) {
- LOG("Could not found output '%s' to set the application\n");
+ LOG("Could not found output '%s' to set the application\n", output.c_str());
return;
}