implementing websocket channel for log stdout and stderr