dotnet / dotnet/msbuild

Allow file globs in log file names

Open
#3,226 0 comments 0 reactions 0 assignees View on GitHub
Area: Debuggability Feature Request triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Background: I have a very complicated build process, and would like to produce a *uniquely named* log file for *every* `msbuild` invocation within the build...without needing to explicitly specify a filename at each invocation.

Feature request: could `LogFile` values contain *filename globs*?

msbuild /bl:LogFile=mybuild*.binlog ...

When a glob is encountered, a *unique* filename would be created, using numbers to differentiate.

The first build would produce `mybuild1.binlog`, the second `mybuild2.binlog`, the 1000th build would produce `mybuild1000.binlog`, etc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.