Handles the transmission of logs to another server.