Only log output that is destined for the main stream.