From e8e79a635ff6a4f590e1a269cb30a9650d804265 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Thu, 31 Jul 2025 15:50:26 +0200 Subject: [PATCH] Improve logging format for hot reload events --- .../Tools/PluginSystem/PluginFactory.HotReload.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.HotReload.cs b/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.HotReload.cs index 5fb462f1..b98fa3c7 100644 --- a/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.HotReload.cs +++ b/app/MindWork AI Studio/Tools/PluginSystem/PluginFactory.HotReload.cs @@ -50,13 +50,13 @@ public static partial class PluginFactory var changeType = args.ChangeType.ToString().ToLowerInvariant(); if (!await HOT_RELOAD_SEMAPHORE.WaitAsync(0)) { - LOG.LogInformation($"File changed ({changeType}): {args.FullPath}. Already processing another change."); + LOG.LogInformation($"File changed '{args.FullPath}' (event={changeType}). Already processing another change."); return; } try { - LOG.LogInformation($"File changed ({changeType}): {args.FullPath}. Reloading plugins..."); + LOG.LogInformation($"File changed '{args.FullPath}' (event={changeType}). Reloading plugins..."); if (File.Exists(HOT_RELOAD_LOCK_FILE)) { LOG.LogInformation("Hot reload lock file exists. Waiting for it to be released before proceeding with the reload.");