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

Log messages to stdout in rake package #3632

Merged
merged 4 commits into from
May 19, 2020
Merged

Conversation

deivid-rodriguez
Copy link
Member

Description:

During some separate work, I was trying to make sure that rake install doesn't print any warnings in CI.

So what I was doing is:

  • Run the command.
  • Redirect the error to a file.
  • Make sure the file is empty.

To my surprise, the file was full of logging messages from the rake package task.

The underlying issue is ruby/fileutils#49.

But I think we can workaround it with this PR.

Tasks:

  • Describe the problem / feature
  • Write tests
  • Write code to solve the problem
  • Get code review from coworkers / friends

I will abide by the code of conduct.

So that I can add a separate test that doesn't set it.
The logging to $stderr is only happening due to a bug in `FileUtils`.
Logging messages are not errors.
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

3 participants