Make StatusLogger
self-contained and testable
#2249
Merged
StatusLogger
self-contained and testable
#2249