Skip to content

Commit f08e4c9

Browse files
thomhurstclaude
andcommitted
fix: Reduce scheduler debug log spam in CI
Change high-frequency scheduler status logs from Debug to Trace level: - "Scheduler waiting: Total=X, Queued=X, Executing=X, Completed=X" - "Pending modules: ..." - "Executing modules: ..." These messages fire every scheduler loop iteration while waiting for modules to complete, causing significant log spam in CI. Moving them to Trace keeps them available for deep debugging while keeping Debug output clean. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent dfd5b77 commit f08e4c9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/ModularPipelines/Engine/ModuleScheduler.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ private bool ShouldExitScheduler(int queuedCount)
327327
private void LogSchedulerWaitingState()
328328
{
329329
var stats = _stateQueries.GetStatistics();
330-
_logger.LogDebug(
330+
_logger.LogTrace(
331331
"Scheduler waiting: Total={Total}, Queued={Queued}, Executing={Executing}, Completed={Completed}, Pending={Pending}",
332332
stats.Total, stats.Queued, stats.Executing, stats.Completed, stats.Pending);
333333

@@ -351,7 +351,7 @@ private void LogPendingModules()
351351
// Log outside lock
352352
if (pending.Count > 0)
353353
{
354-
_logger.LogDebug("Pending modules: {Modules}",
354+
_logger.LogTrace("Pending modules: {Modules}",
355355
string.Join(", ", pending.Select(FormatModuleWithDependencyCount)));
356356
}
357357
}
@@ -372,7 +372,7 @@ private void LogExecutingModules()
372372
// Log outside lock
373373
if (executing.Count > 0)
374374
{
375-
_logger.LogDebug("Executing modules: {Modules}",
375+
_logger.LogTrace("Executing modules: {Modules}",
376376
string.Join(", ", executing.Select(m => MarkupFormatter.FormatModuleName(m.ModuleType.Name))));
377377
}
378378
}

0 commit comments

Comments
 (0)