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

tests: Add test utilities to configure logging #1060

Merged
merged 2 commits into from
Jun 2, 2023
Merged

Commits on Jun 1, 2023

  1. tests: Add test utilities to configure logging

    This is useful in many tests, not just netcheck.  Make it more
    globally available.
    
    It also makes it better to enable by default: it just always logs
    all modules on the TRACE level.  But it is properly captured by the
    test runner and only shown if the test fails.
    
    Potentially this is too verbose for some tests.  Variants can be built
    that allow configuring the logging level or even per-modules logging
    level as required.  But no need for that just yet.
    flub committed Jun 1, 2023
    Configuration menu
    Copy the full SHA
    eb1ad8f View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2023

  1. Prefer RUST_LOG if present

    flub committed Jun 2, 2023
    Configuration menu
    Copy the full SHA
    0a5e4e0 View commit details
    Browse the repository at this point in the history