Closed KirillOsenkov closed 8 months ago
@erikmav
This becomes a problem for huge builds and 100,000 file copies (only logging a single message significantly reduces the log size)
In general keeping the messages as close to the original task as possible is important because there are tools and analyzers that do things like double-write detection, etc. by parsing the copy messages.
You must be slightly behind the latest package version (1.0.302 is latest). Current text output at low importance looks like:
Log.LogMessage(MessageImportance.Low, $"Created copy-on-write link '{sourceFullPath}' to '{destFullPath}'.");
I assume your build is emitting verbose logs?
Options I can see:
Thoughts?
I'm looking at binary logs which record everything.
Indeed, on the latest version I do get Copying file from and Created copy-on-write link.
Let's leave it as is then, because I agree, Created copy-on-write link is important to know, and we need to keep the Copying message for analysis.
In the CopyOnWrite SDK, for every file copy I'm seeing two messages:
Isn't one redundant? I'd remove the one that says CloneFile (to keep the behavior identical with the in-the-box copy task)