summaryrefslogtreecommitdiff
path: root/platform/windows
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-10-29 15:20:29 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-10-29 15:50:27 +0100
commit87694d1884ed38ff0ad3c646937670ab26fcf44d (patch)
tree8a539236415baead1cbb3d4fce95ee94e6229a96 /platform/windows
parentf327fba627adb9784935c307d9333e7b69892e40 (diff)
Disable logging until the logs location is sorted out
Temporary workaround for #12277.
Diffstat (limited to 'platform/windows')
-rw-r--r--platform/windows/os_windows.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index c27e7c0d2b..ac78dddf0c 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -209,7 +209,9 @@ void OS_Windows::initialize_core() {
void OS_Windows::initialize_logger() {
Vector<Logger *> loggers;
loggers.push_back(memnew(WindowsTerminalLogger));
- loggers.push_back(memnew(RotatedFileLogger("user://logs/log.txt")));
+ // FIXME: Reenable once we figure out how to get this properly in user://
+ // instead of littering the user's working dirs (res:// + pwd) with log files (GH-12277)
+ //loggers.push_back(memnew(RotatedFileLogger("user://logs/log.txt")));
_set_logger(memnew(CompositeLogger(loggers)));
}