Skip to content

Commit 6f7fcd7

Browse files
authored
Improve HealthCheckEndText message (#20124)
1 parent bd65169 commit 6f7fcd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HealthChecks/HealthChecks/src/DefaultHealthCheckService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ private static class Log
197197
"Running health check {HealthCheckName}");
198198

199199
// These are separate so they can have different log levels
200-
private static readonly string HealthCheckEndText = "Health check {HealthCheckName} completed after {ElapsedMilliseconds}ms with status {HealthStatus} and '{HealthCheckDescription}'";
200+
private static readonly string HealthCheckEndText = "Health check {HealthCheckName} completed after {ElapsedMilliseconds}ms with status {HealthStatus} and description '{HealthCheckDescription}'";
201201

202202
private static readonly Action<ILogger, string, double, HealthStatus, string, Exception> _healthCheckEndHealthy = LoggerMessage.Define<string, double, HealthStatus, string>(
203203
LogLevel.Debug,

0 commit comments

Comments
 (0)