score and sending logs over tcp