Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Feature: add brief flag to debug tool #634

Merged
merged 6 commits into from
Aug 16, 2018

Conversation

jafreck
Copy link
Member

@jafreck jafreck commented Aug 6, 2018

Fix #610

@@ -6,11 +6,11 @@
from aztk.utils import helpers


def _run(spark_cluster_operations, cluster_id, output_directory=None):
def _run(spark_cluster_operations, cluster_id, output_directory=None, brief=False):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is brief the right name for this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure... I feel like it makes sense but I'm open to anything. This flag is meant to only grab the most important logs for an initial investigation, whereas without the flag, the output is very verbose.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--silent --quiet maybe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--quiet and --silent to me means control the amount of output to the console, not "write a subset of the files to disk" which is what we are doing here.

@jafreck jafreck merged commit b7bdd8c into Azure:master Aug 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants