Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log cleanup #1735

Merged
merged 3 commits into from
Feb 15, 2022
Merged

Log cleanup #1735

merged 3 commits into from
Feb 15, 2022

Conversation

cwize1
Copy link
Contributor

@cwize1 cwize1 commented Feb 10, 2022

  1. Add a local_node_connect to make it easy to run commands
    against the test runner machine

  2. Add a no_debug_log option to the Process.start function and
    all of its derivatives. This will allow a caller to prevent output
    from a process from being written to the DEBUG logs. This is useful
    for commands with particularly spammy output. (For example,
    kubectl get -o yaml.)

lisa/util/process.py Outdated Show resolved Hide resolved
lisa/environment.py Outdated Show resolved Hide resolved
1. Expose a `local_node` function on the `Environment` class to
make it easy to run commands on the test runner machine.

2. Add a `no_debug_log` option to the `Process.start` function and
all of its derivatives.  This will allow a caller to prevent output
from a process from being written to the DEBUG logs. This is useful
for commands with particularly spammy output. (For example,
`kubectl get -o yaml`.)
@squirrelsc squirrelsc merged commit 3f1d6ab into microsoft:main Feb 15, 2022
lesscodingmorehappiness pushed a commit that referenced this pull request Feb 15, 2022
* Log cleanup

1. Expose a `local_node` function on the `Environment` class to
make it easy to run commands on the test runner machine.

2. Add a `no_debug_log` option to the `Process.start` function and
all of its derivatives.  This will allow a caller to prevent output
from a process from being written to the DEBUG logs. This is useful
for commands with particularly spammy output. (For example,
`kubectl get -o yaml`.)

* Add to Tool and co.
@cwize1 cwize1 deleted the user/chrisgun/LogCleanup branch March 4, 2022 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants