'How can I change the log directory for Visual Studio Code?
By default, VS Code (and its extensions) write their logs to
%AppData%\Code\Logs\(on Windows),~/.config/Code/logs/(on Linux),~/Library/Application Support/Code/logs/(on MacOS).
How can I configure this, e.g. to write them to a different disk?
Solution 1:[1]
You can using the --user-data-dir <absolute-path> argument
Solution 2:[2]
You can check current timezone by using spark.sql.session.timezone
spark.sql("set spark.sql.session.timeZone").show(10,False)
+--------------------------+----------------+
|key |value |
+--------------------------+----------------+
|spark.sql.session.timeZone|America/New_York|
+--------------------------+----------------+
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Jeremy Caney |
| Solution 2 | notNull |
