def outReceived(self, data):
        data = str(data)
        if not self.PID:
            match = MANAGED_PID.search(data)
            if match:
                self.PID = int(match.groupdict().get('pid', 0))
        self.OUTPUT += data
        self.STDOUT += data
        self.logger(data)
STDOUT Formatted for our logs
dataset/ETHPy150Open OrbitzWorldwide/droned/droned/lib/droned/protocols/application.py/ApplicationProtocol.outReceived