Skip to content

Allow creating multiple binlogs in a single invocation of MSBuild.exe #12997

Description

@baronfel

Summary

Today, -bl arguments are handled in a last-one-wins manner. This is nonsensical - emitting logs to multiple files is already supported. We need to support multiple binlogs so that different consumers can emit binlogs at specific expected locations, to support automated tooling and other cross-cutting scenarios.

Background and Motivation

N/A

Proposed Feature

  • accept multiple -bl flags
  • group them by binlog parameters
  • for each unique group, create one binary logger that is configured to emit the binlog to a safe temp location
  • at the end of the build, the binarylogger will copy+rename that emitted binlog to the location(s) specified by the grouping.

Alternative Designs

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions