change tilt logic && add tcp logging slot