mirror of
https://github.com/wassname/ray.git
synced 2026-10-29 13:30:42 +08:00
Use proper temp directory
This commit is contained in:
1 parent
8fde648752
commit
18f033fefb
1 file changed
+4
-1
@@ -1,2 +1,5 @@
|
||||
LOG_DIRECTORY = "/tmp/raylogs/"
|
||||
import os.path
|
||||
import sys
|
||||
import tempfile
|
||||
LOG_DIRECTORY = os.path.join("/tmp" if sys.platform.startswith("darwin") else tempfile.gettempdir(), "raylogs")
|
||||
LOG_TIMESTAMP = "{:%Y-%m-%d=%H:%M:%S}"
|
||||
Reference in new issue
Block a user