added ability to log channel output