Skip to content

Commit 9b97c92

Browse files
Improve logging format for storage space details
1 parent e9f287e commit 9b97c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceControl.Audit.Persistence.RavenDB/CustomChecks/CheckMinimumStorageRequiredForIngestion.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public override Task<CheckResult> PerformCheck(CancellationToken cancellationTok
3838

3939
if (logger.IsEnabled(LogLevel.Debug))
4040
{
41-
logger.LogDebug("Free space: {AvailableFreeSpace} | Total: {TotalSpace} | Percent remaining {PercentRemaining:P0}", availableFreeSpace, totalSpace, percentRemaining);
41+
logger.LogDebug("Free space: {AvailableFreeSpace:N0}B | Total: {TotalSpace:N0}B | Percent remaining {PercentRemaining:P0}", availableFreeSpace, totalSpace, percentRemaining);
4242
}
4343

4444
if (percentRemaining > percentageThreshold)

0 commit comments

Comments
 (0)