MobileNativeFoundation / XCLogParser

Tool to parse Xcode and xcodebuild logs stored in the xcactivitylog format
Apache License 2.0
1.73k stars 121 forks source link

Add a flag to truncate number of issues in individual tasks #151

Closed ecamacho closed 2 years ago

ecamacho commented 2 years ago

Adds the --trunc_large_issues flag to the parse command. This flag will instruct the parser to truncate to a 100 the maximum number of issues reported in an individual task. An issue is either a Note, a Warning or an Error.

This is useful to reduce the memory used by the tool and the final size of the report generated. We observed this when turning on Swift LTO, that created a task with ~40k repeated warnings that blew up the JSONEnconder memory and made it crash.