On the fly logging system