fix multiple outputs on log