diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-24 23:32:53 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-03-30 13:07:11 +0000 |
| commit | f3db43e40ad7d83a7ac185469920c94fc8d090cd (patch) | |
| tree | 05143d8e90c704a9612b714d623b2e5191a2d167 /src/options.cpp | |
| parent | 14a48530d911e9d9d0539eb4c273ce1379534607 (diff) | |
Disable logging to text files by default
Let users explicitly enable logging if they so desire. Don't clutter the
disk space and perform I/O for each line when the rest are unaware.
Diffstat (limited to 'src/options.cpp')
| -rw-r--r-- | src/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/options.cpp b/src/options.cpp index 3d400c2..b0cbb39 100644 --- a/src/options.cpp +++ b/src/options.cpp @@ -489,7 +489,7 @@ void Options::setStopMusicOnCategoryEnabled(bool value) bool Options::logToTextFileEnabled() const { - return config.value("automatic_logging_enabled", true).toBool(); + return config.value("automatic_logging_enabled", false).toBool(); } void Options::setLogToTextFileEnabled(bool value) @@ -499,7 +499,7 @@ void Options::setLogToTextFileEnabled(bool value) bool Options::logToDemoFileEnabled() const { - return config.value("demo_logging_enabled", true).toBool(); + return config.value("demo_logging_enabled", false).toBool(); } void Options::setLogToDemoFileEnabled(bool value) |
