mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 15:27:36 +08:00
Allow setting the RAY_BACKEND_LOG_LEVEL to trace. (#12012)
This commit is contained in:
@@ -254,7 +254,9 @@ void RayLog::StartRayLog(const std::string &app_name, RayLogLevel severity_thres
|
||||
if (var_value != nullptr) {
|
||||
std::string data = var_value;
|
||||
std::transform(data.begin(), data.end(), data.begin(), ::tolower);
|
||||
if (data == "debug") {
|
||||
if (data == "trace") {
|
||||
severity_threshold = RayLogLevel::TRACE;
|
||||
} else if (data == "debug") {
|
||||
severity_threshold = RayLogLevel::DEBUG;
|
||||
} else if (data == "info") {
|
||||
severity_threshold = RayLogLevel::INFO;
|
||||
|
||||
Reference in New Issue
Block a user