-
-
Notifications
You must be signed in to change notification settings - Fork 200
Task Parameter Logging
Kirill Osenkov edited this page Apr 26, 2020
·
8 revisions
A good example is the Hash task that only takes the ItemSpec into account, so it makes sense to not log item metadata, it's just noise, slows our builds down and inflates log sizes.
See Binlog Stats for more data on most expensive tasks and items.
Further candidates:
- ConvertToAbsolutePath.Paths
- ResolvePackageFileConflicts.ReferenceCopyLocalPaths
- GenerateResource.References
- JoinItems.Left
- JoinItems.Right
After these we quickly hit the diminishing returns.
- Path Log=false
- AbsolutePaths LogItemMetadata=false
- SourceFiles LogItemMetadata=false
- DestinationFiles LogItemMetadata=false
- CopiedFiles LogItemMetadata=false
- Files LogItemMetadata=false
- InPath LogItemMetadata=false
- OutOfPath Log=false
- FilesWritten LogItemMetadata=false
- ItemsToHash LogItemMetadata=false
- Inputs Log=false
- Filtered LogItemMetadata=false
- Lines LogItemMetadata=false