utilities for logging async (files & flume)