ModularPipelines icon indicating copy to clipboard operation
ModularPipelines copied to clipboard

IHttpLogger spams messages

Open Nice3point opened this issue 3 months ago • 0 comments

The ModularPipelines.GitHub.GitHub class has IHttpLogger, but it is overly aggressive. For example, for a call to

        return await targetFiles
            .SelectAsync(async file =>
                {
                    var asset = new ReleaseAssetUpload
                    {
                        ContentType = "application/x-binary",
                        FileName = file.Name,
                        RawData = file.GetStream()
                    };

                    return await context.GitHub().Client.Repository.Release.UploadAsset(release, asset, cancellationToken);
                },
                cancellationToken)
            .ProcessOneAtATime();

I get >15,000 lines in the output. The current implementation even logs the stream of the uploaded file.

Image Image

Ideally nice to have something like CommandLogging in Commands, to control it

Nice3point avatar Nov 15 '25 16:11 Nice3point