Fix ERROR logging not being printed to standard error (#9633)

Co-authored-by: Mehrdad <noreply@github.com>
This commit is contained in:
mehrdadn
2020-07-24 11:15:00 -07:00
committed by GitHub
parent a49eb1d168
commit 6beed5a2df
+1 -1
View File
@@ -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
}