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

Logging Optimizations #23

Closed
mdmintz opened this issue Mar 22, 2024 · 1 comment · Fixed by #24
Closed

Logging Optimizations #23

mdmintz opened this issue Mar 22, 2024 · 1 comment · Fixed by #24
Assignees
Labels
enhancement New feature or request

Comments

@mdmintz
Copy link
Owner

mdmintz commented Mar 22, 2024

Logging Optimizations


Add --capture-logs to capture output from all logging levels (which hides all logging output).

(Also settable with os.environ --> "NOSE_CAPTURELOGS" "1")

--

Note: To capture the output of print() statements, use the existing --capture-output option.
(Also settable with os.environ --> "NOSE_CAPTURE" "1")


Add --logging-init to automatically call logging.basicConfig(level), which may be needed if you want to change the default logging level using --logging-level=LEVEL.

(Also settable with os.environ --> "NOSE_LOGINIT" "1")


@mdmintz mdmintz added the enhancement New feature or request label Mar 22, 2024
@mdmintz mdmintz self-assigned this Mar 22, 2024
@mdmintz
Copy link
Owner Author

mdmintz commented Mar 22, 2024

This was resolved in 1.5.1 - https://github.com/mdmintz/pynose/releases/tag/v1.5.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant