Add log capture to isolated zinc compiles

Review Request #2404 - Created June 22, 2015 and submitted

Stu Hood
benjyw, davidt, fkorotkov, jsirois, patricklaw, zundel

This change adds an optional debug log file to zinc, and includes it in the artifact cache to help determine the provenance of the classfiles and analysis in a cache entry.

  • Drop analysis manipulation code from zinc (can split this out into a separate change if need be)
  • Add the capture-log option to zinc
  • Split out named Regex and File loggers
  • Remove LoggerRaw in favor of writing directly to stdout
  • Add (admittedly limited) support for log capture in the isolated strategy with zinc
  • Log exception messages when jobs fail in the execution graph
  • Switch scala tests in the pants codebase from specs1 (deprecated) to scalatest
  • Add a unit test for compound logging

first unit test for zinc, local testing


  • 0
  • 2
  • 6
  • 8
Description From Last Updated
Eric Ayers
Fedor Korotkov
Stu Hood
Stu Hood
Stu Hood
Andy Reitz
Benjy Weinberger
Tejal Desai
Eric Ayers
Benjy Weinberger
Stu Hood
Review request changed

Status: Closed (submitted)