-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ct: Add -out parameter to ct_run #7788
base: master
Are you sure you want to change the base?
Conversation
Currently, the default logging handler used on startup logs and logger messages to standard output. Implement the new option `default_log_destination` in `cth_log_redirect` and the accompanying option `-out` for `ct_run` to allow redirecting logs elsewhere, such as a dedicated file or `/dev/null`.
CT Test Results 3 files 112 suites 2h 31m 12s ⏱️ For more details on these failures, see this check. Results for commit 849b7bd. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
I've added the log reconfiguration function to Also, I didn't add this to |
please wait with this PR. I need to analyze it further. |
If you agree, I would like to convert that one into a draft for a while. I'm overwhelmed with other stuff and would like to park this one until:
|
Sounds good to me. I think with |
Allow configuring an alternative logging destination instead of stdout for any logger reports using the new
-out
flag.