mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 11:12:55 +00:00
Improve logging format for hot reload events
This commit is contained in:
parent
a29f885fb1
commit
e8e79a635f
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user