Skip to content

Commit cc05468

Browse files
committed
Log diagnostic summary on shutdown
1 parent f95eb2f commit cc05468

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

identity-server/src/IdentityServer/Licensing/V2/Diagnostics/DiagnosticHostedService.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,11 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
2525
}
2626
}
2727
}
28+
29+
public override async Task StopAsync(CancellationToken cancellationToken)
30+
{
31+
await diagnosticSummary.PrintSummary();
32+
33+
await base.StopAsync(cancellationToken);
34+
}
2835
}

0 commit comments

Comments
 (0)