From 53b470c60986fcfc83dc3a5eafcd9370a7264086 Mon Sep 17 00:00:00 2001 From: Marius Vlad Date: Tue, 24 Oct 2023 17:11:12 +0300 Subject: grpc-proxy: Fix missing args LOG() These are not seen until enabling the DEBUG directive. Bug-AGL: SPEC-4912 Signed-off-by: Marius Vlad Change-Id: Ic18c701909975978e82ef811ade416d802e567b5 --- grpc-proxy/main-grpc.cpp | 2 +- grpc-proxy/shell.cpp | 2 +- 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; } -- cgit 1.2.3-korg