Skip to content

Commit aeba531

Browse files
committed
logging: keep more log files by default
To reduce chance an important log file gets lost due to the user restarting the app a couple times. Perhaps we should make this smarter and cap based on bytes size of folder, instead of number of files.
1 parent 26e6c09 commit aeba531

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electrum/simple_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ def __setattr__(self, name, value):
863863
short_desc=lambda: _("Write logs to file"),
864864
long_desc=lambda: _('Debug logs can be persisted to disk. These are useful for troubleshooting.'),
865865
)
866-
LOGS_NUM_FILES_KEEP = ConfigVar('logs_num_files_keep', default=10, type_=int)
866+
LOGS_NUM_FILES_KEEP = ConfigVar('logs_num_files_keep', default=30, type_=int)
867867
GUI_ENABLE_DEBUG_LOGS = ConfigVar('gui_enable_debug_logs', default=False, type_=bool)
868868
LOCALIZATION_LANGUAGE = ConfigVar(
869869
'language', default="", type_=str,

0 commit comments

Comments
 (0)