From 3a810e4eaf5a720f7ef06ecb841aba3cbc43b149 Mon Sep 17 00:00:00 2001 From: Pawel Date: Wed, 29 Oct 2025 13:13:52 +0100 Subject: [PATCH] logging debug information of image generation request --- src/image_gen/http_image_gen_calculator.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/image_gen/http_image_gen_calculator.cc b/src/image_gen/http_image_gen_calculator.cc index 8aa5912fe9..c782fe8aaa 100644 --- a/src/image_gen/http_image_gen_calculator.cc +++ b/src/image_gen/http_image_gen_calculator.cc @@ -141,6 +141,9 @@ class ImageGenCalculator : public CalculatorBase { auto payload = cc->Inputs().Tag(INPUT_TAG_NAME).Get(); + SPDLOG_LOGGER_DEBUG(llm_calculator_logger, "Request body: {}", payload.body); + SPDLOG_LOGGER_DEBUG(llm_calculator_logger, "Request uri: {}", payload.uri); + std::unique_ptr images; // output if (absl::StartsWith(payload.uri, "/v3/images/generations")) {