From 305b2ee28b6d119b9e2fa63bd1201a90e2b9a29b Mon Sep 17 00:00:00 2001 From: Mark Wallace <127216156+markwallace-microsoft@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:01:55 +0100 Subject: [PATCH] .Net: Remove log entry (#7418) ### Motivation and Context ### Description ### Contribution Checklist - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone :smile: --- .../PromptTemplate/KernelPromptTemplate.cs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dotnet/src/SemanticKernel.Core/PromptTemplate/KernelPromptTemplate.cs b/dotnet/src/SemanticKernel.Core/PromptTemplate/KernelPromptTemplate.cs index 83abe231becb..997520dff46a 100644 --- a/dotnet/src/SemanticKernel.Core/PromptTemplate/KernelPromptTemplate.cs +++ b/dotnet/src/SemanticKernel.Core/PromptTemplate/KernelPromptTemplate.cs @@ -69,11 +69,6 @@ private List ExtractBlocks(PromptTemplateConfig config, ILoggerFactory lo { string templateText = config.Template; - if (this._logger.IsEnabled(LogLevel.Trace)) - { - this._logger.LogTrace("Extracting blocks from template: {0}", templateText); - } - var blocks = new TemplateTokenizer(loggerFactory).Tokenize(templateText); foreach (var block in blocks)