Add task level console logging suppression.

Review Request #2580 - Created Aug. 7, 2015 and discarded

Information
Jessica Rosenfield
pants
jessrosenfield/task-log-config
1932
Reviewers
pants-reviews
benjyw, gmalmquist, jsirois, zundel

This change adds console output suppression through log configuration added to work units. Please refer to implementation discussion and outlined design on the desgin doc: https://docs.google.com/document/d/1i6koQ1okCXyAmnulR2zDPshGo8m4jBdkovn0OLg-I4Y/edit?usp=sharing

Travis CI Build fails: https://travis-ci.org/pantsbuild/pants/builds/74496796
Tasks in test_round_engine and test_group_task don't have global options registered with their tasks and are causing the build to fail when looking for level and colors options to create log_config. I have not any luck hardcoding the options into the tests as of yet.

Issues

  • 2
  • 0
  • 0
  • 2
Description From Last Updated
Should we bite the bullet and put all these workunit* things in one struct? Alternatively we could curry them all ... Benjy Weinberger Benjy Weinberger
you can do workunit.outcome() >= WorkUnit.WARNING The constants are ordered by design, to allow such things. Although, shouldn't it be ... Benjy Weinberger Benjy Weinberger
Eric Ayers
Benjy Weinberger
John Sirois
Eric Ayers
Eric Ayers
Jessica Rosenfield
Jessica Rosenfield
Jessica Rosenfield
Review request changed

Status: Discarded

Loading...