New stream-based logging system