diff --git a/ATxCommon/StorageStatus.cs b/ATxCommon/StorageStatus.cs index 4a3078cdd9e192c8f2e5775434c8544b717d6eb0..a6342d951e1e75a7046d4553b02c3ef813f1c8f1 100644 --- a/ATxCommon/StorageStatus.cs +++ b/ATxCommon/StorageStatus.cs @@ -186,8 +186,13 @@ namespace ATxCommon _lastUpdateGraceLocation = DateTime.Now; if (_expiredDirs.Count > 0) { - Log.Debug("Updated storage status: {0} expired directories in grace location.", - _expiredDirs.Count); + var detailCount = 0; + foreach (var toplevel in _expiredDirs.Keys) { + detailCount += _expiredDirs[toplevel].Count; + } + Log.Debug("Updated storage status: {0} top-level directories with a total of " + + "{1} expired sub-directories in grace location.", + _expiredDirs.Count, detailCount); } }