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

Make log persistency behavior optional #122

Merged

Conversation

northernSage
Copy link
Member

work-around for #120

Using open with errors introduces different issues with pattern matching and breaks the new logging persistency feature added in 0.21.0. However, the issue reported in #120 still persists and trash bytes written by initialized process can potently cause problems. I'll need to revisit that implementation and will probably drop py module in the process. For now, users having issues with the new logging behavior can opt to go back to the old one by simply calling ensure with persist_logs set to False

process.ensure(..., persist_logs=False)

@northernSage northernSage self-assigned this Dec 31, 2022
@northernSage northernSage merged commit 900abb8 into pytest-dev:master Dec 31, 2022
@northernSage northernSage deleted the fix-fail-to-read-log-files-120 branch December 31, 2022 19:06
@northernSage northernSage mentioned this pull request Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant