cleaned up loggregator implementation
[finishes #60830922]