mirror of
https://github.com/wassname/ray.git
synced 2026-07-05 08:31:18 +08:00
Log to terminal if glog is also doing so (#7868)
This commit is contained in:
@@ -939,7 +939,9 @@ def _start_redis_instance(executable,
|
||||
if counter == num_retries:
|
||||
raise RuntimeError("Couldn't start Redis. "
|
||||
"Check log files: {} {}".format(
|
||||
stdout_file.name, stderr_file.name))
|
||||
stdout_file.name if stdout_file is not None else
|
||||
"<stdout>", stderr_file.name
|
||||
if stdout_file is not None else "<stderr>"))
|
||||
|
||||
# Create a Redis client just for configuring Redis.
|
||||
redis_client = redis.StrictRedis(
|
||||
|
||||
Reference in New Issue
Block a user