Add stream logging