-
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
Ets and Dets code should not be printing to stdout #9232
Conversation
CT Test Results 2 files 96 suites 1h 7m 33s ⏱️ Results for commit 3bad824. ♻️ 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should use logger instead of calling legacy error_logger functions.
That would introduce a mix of old error_logger calls and new logger calls. I think it is better to follow the existing code style and then replace all of the calls in a separate update. |
@richcarl well ok we will accept that, as at least it is an improvement over using io:format. However the PS-team does not feel |
a476b0a
to
3bad824
Compare
Fair enough, I dropped the macro removal. IMO though, the only place for that sort of code is in the version control history. |
Some quite old code in Ets and Dets would print messages to stdout when repairing tables or when fun2ms failed.