From 908e6ab186698b608abed68b985204c685d118b4 Mon Sep 17 00:00:00 2001 From: "aden.chen" Date: Wed, 4 Feb 2026 09:43:04 +0800 Subject: [PATCH] Add logging for conversation creation details in ConversationService. --- .../BotSharp.Core/Conversations/Services/ConversationService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.cs b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.cs index cab3e3dab..94863ae16 100644 --- a/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.cs +++ b/src/Infrastructure/BotSharp.Core/Conversations/Services/ConversationService.cs @@ -138,6 +138,8 @@ public async Task NewConversation(Conversation sess) await hook.OnConversationInitialized(record); } + _logger.LogInformation($"Conversation created: {record.Id}, AgentId: {record.AgentId}, UserId: {record.UserId}, Channel: {record.Channel}"); + return record; }