From 8170e1d7627e561967fca474f9a0154939585edd Mon Sep 17 00:00:00 2001 From: glax Date: Sat, 28 Jun 2025 20:35:10 +0200 Subject: [PATCH] JobCycle Info-Debug list jobs started/running --- API/Tranga.cs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/API/Tranga.cs b/API/Tranga.cs index 5fb8ec4..ddeb873 100644 --- a/API/Tranga.cs +++ b/API/Tranga.cs @@ -169,11 +169,15 @@ public static class Tranga while(!running) Thread.Sleep(10); } - Log.Debug($"Running: {runningJobs.Count} Waiting: {waitingJobs.Count} Due: {dueJobs.Count} of which \n" + - $"{jobsWithoutDependencies.Count} without missing dependencies, of which\n" + + Log.Debug($"Running: {runningJobs.Count}\n" + + $"{string.Join("\n", runningJobs.Select(s => "\t- " + s))}\n" + + $"Waiting: {waitingJobs.Count} Due: {dueJobs.Count}\n" + + $"{string.Join("\n", dueJobs.Select(s => "\t- " + s))}\n" + + $"of which {jobsWithoutDependencies.Count} without missing dependencies, of which\n" + $"\t{jobsWithoutDownloading.Count} without downloading\n" + $"\t{jobsNotHeldBackByConnector.Count} not held back by Connector\n" + - $"{startJobs.Count} were started."); + $"{startJobs.Count} were started:\n" + + $"{string.Join("\n", startJobs.Select(s => "\t- " + s))}"); if (Log.IsDebugEnabled && dueJobs.Count < 1) if(waitingJobs.MinBy(j => j.NextExecution) is { } nextJob)