mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00

* make glog flush and RAY_LOG thread-safe * dump error log to console * mapping all levels to destination * hack glog for exporting message to stdout if no base name given * patch lint * use stdout logger by default * add raylet std/err pytest checker * add worker logs file check * fix asan check * loop in glog enums * fix python lint * lint for autoindent * fix indent lint * make raylet.err is not empty
13 lines
490 B
Diff
13 lines
490 B
Diff
diff --git src/logging.cc src/logging.cc
|
|
--- src/logging.cc
|
|
+++ src/logging.cc
|
|
@@ -1135,7 +1135,8 @@ void LogFileObject::Write(bool force_flush,
|
|
<< setw(2) << tm_time.tm_min
|
|
<< setw(2) << tm_time.tm_sec
|
|
<< '.'
|
|
- << GetMainThreadPid();
|
|
+ << GetMainThreadPid()
|
|
+ << ".log";
|
|
const string& time_pid_string = time_pid_stream.str();
|
|
|
|
if (base_filename_selected_) {
|