Skip to content

Conversation

@ericl
Copy link
Contributor

@ericl ericl commented Sep 14, 2021

…8577)" (#18602)"

This reverts commit 7f8cdce.

Why are these changes needed?

Related issue number

Checks

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

@ericl ericl changed the title [WIP] Revert "Revert "Route core worker ERROR/FATAL logs to driver logs (#1… Revert "Revert "Route core worker ERROR/FATAL logs to driver logs (#1… Sep 14, 2021
@ericl
Copy link
Contributor Author

ericl commented Sep 14, 2021

@scv119 this fixes a missing format setting on the new logger! Event tests pass again after this change.

auto logger = std::make_shared<spdlog::logger>(RayLog::GetLoggerName(), sinks.begin(),
sinks.end());
logger->set_level(level);
logger->set_pattern(log_format_pattern_);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^ line above was changed

Copy link
Contributor

@scv119 scv119 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me!

@ericl ericl merged commit 15512c2 into ray-project:master Sep 14, 2021
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.

2 participants