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

Maintain cth_log_redirect default in CT runs #2788

Merged
merged 1 commit into from
May 11, 2023

Conversation

ferd
Copy link
Collaborator

@ferd ferd commented May 10, 2023

By default, common test should be redirecting log output via the cth_log_redirect hook. However, whenever we override the values to enable the stuff in cth_readable, we take that log redirection away.

This restores it so it is the same, so long as the user does not specify their own log values in it, which keeps the override/removal as-is.

By default, common test should be redirecting log output via the
cth_log_redirect hook. However, whenever we override the values to
enable the stuff in cth_readable, we take that log redirection away.

This restores it so it is the same, so long as the user does not specify
their own log values in it, which keeps the override/removal as-is.
@ferd
Copy link
Collaborator Author

ferd commented May 10, 2023

current CI is failing because github actions seems to be having issues https://www.githubstatus.com/incidents/pr3498h3qkfy

@eproxus
Copy link
Contributor

eproxus commented May 11, 2023

This branch seems to work very well! 👍 I also tried adding cth_surefire with still kept the logs in, so all good from my side.

@ferd ferd merged commit e8956a1 into erlang:main May 11, 2023
3 of 6 checks passed
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.

None yet

2 participants