def METHOD_NAME(network):
    credentials = register_new_executor(
        primary.get_public_rpc_address(),
        service_certificate_bytes,
        supported_endpoints=LoggingExecutor.get_supported_endpoints(),
        with_attestation_container=False,
    )
    logging_executor = LoggingExecutor(
        primary.get_public_rpc_address(), credentials
    )
    logging_executor.credentials = credentials
    with executor_thread(logging_executor):
        with primary.client() as c:
            for each in kv_entries:
                r = c.post(
                    "/log/public",
                    {"id": each[0], "msg": each[1]},
                )
                assert r.status_code == 200, r.status_code