mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 04:30:30 +08:00
Fix ERROR logging not being printed to standard error (#9633)
Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
@@ -205,9 +205,9 @@ void RayLog::StartRayLog(const std::string &app_name, RayLogLevel severity_thres
|
||||
std::ios_base::app | std::ios_base::binary);
|
||||
}
|
||||
for (int lvl = 0; lvl < NUM_SEVERITIES; ++lvl) {
|
||||
google::SetStderrLogging(lvl);
|
||||
google::base::SetLogger(lvl, &stream_logger_singleton);
|
||||
}
|
||||
google::SetStderrLogging(GetMappedSeverity(RayLogLevel::ERROR));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user