From f3db43e40ad7d83a7ac185469920c94fc8d090cd Mon Sep 17 00:00:00 2001 From: Osmium Sorcerer Date: Tue, 24 Mar 2026 23:32:53 +0000 Subject: 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. --- src/options.cpp | 4 ++-- 1 file 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) -- cgit