Skip to content

Commit 9ea0e54

Browse files
committed
YNO: Disable logging to file
1 parent f88e9d0 commit 9ea0e54

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/game_config.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ struct Game_ConfigPlayer {
103103
Utils::MakeSvArray("never", "FirstStartup", "always"),
104104
Utils::MakeSvArray("Never show language menu on start", "Show on first start (when no save files are found)", "Always show language menu prior to the title screen") };
105105
BoolConfigParam lang_select_in_title{ "Show language menu on title screen", "Display language menu item on the title screen", "Player", "LanguageInTitle", true };
106-
BoolConfigParam log_enabled{ "Logging", "Write diagnostic messages into a logfile", "Player", "Logging", true };
106+
BoolConfigParam log_enabled{ "Logging", "Write diagnostic messages into a logfile", "Player", "Logging", false };
107107
RangeConfigParam<int> screenshot_scale { "Screenshot scaling factor", "Scale screenshots by the given factor", "Player", "ScreenshotScale", 1, 1, 24};
108108
BoolConfigParam screenshot_timestamp{ "Screenshot timestamp", "Add the current date and time to the file name", "Player", "ScreenshotTimestamp", true };
109109
BoolConfigParam automatic_screenshots{ "Automatic screenshots", "Periodically take screenshots", "Player", "AutomaticScreenshots", false };

src/window_settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ void Window_Settings::RefreshEngine() {
429429
AddOption(cfg.settings_in_menu, [&cfg](){ cfg.settings_in_menu.Toggle(); });
430430
AddOption(cfg.lang_select_on_start, [this, &cfg]() { cfg.lang_select_on_start.Set(static_cast<ConfigEnum::StartupLangSelect>(GetCurrentOption().current_value)); });
431431
AddOption(cfg.lang_select_in_title, [&cfg](){ cfg.lang_select_in_title.Toggle(); });
432-
AddOption(cfg.log_enabled, [&cfg]() { cfg.log_enabled.Toggle(); });
432+
// AddOption(cfg.log_enabled, [&cfg]() { cfg.log_enabled.Toggle(); });
433433
AddOption(cfg.screenshot_scale, [this, &cfg](){ cfg.screenshot_scale.Set(GetCurrentOption().current_value); });
434434

435435
GetFrame().options.back().help2 = fmt::format("Screenshot size: {}x{}",

0 commit comments

Comments
 (0)