Skip to content
Snippets Groups Projects
Commit f848218b authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Show total number of expired directories in grace location

Relates to #20
parent 084fa4af
No related branches found
No related tags found
No related merge requests found
...@@ -186,8 +186,13 @@ namespace ATxCommon ...@@ -186,8 +186,13 @@ namespace ATxCommon
_lastUpdateGraceLocation = DateTime.Now; _lastUpdateGraceLocation = DateTime.Now;
if (_expiredDirs.Count > 0) { if (_expiredDirs.Count > 0) {
Log.Debug("Updated storage status: {0} expired directories in grace location.", var detailCount = 0;
_expiredDirs.Count); 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);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment