diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java index 27a8dc3f5..a97351ca2 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/setting/Config.java @@ -158,7 +158,7 @@ public final class Config implements Cloneable, Observable { private StringProperty launcherFontFamily = new SimpleStringProperty(); @SerializedName("logLines") - private IntegerProperty logLines = new SimpleIntegerProperty(100); + private IntegerProperty logLines = new SimpleIntegerProperty(1000); @SerializedName("titleTransparent") private BooleanProperty titleTransparent = new SimpleBooleanProperty(false); diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/ui/LogWindow.java b/HMCL/src/main/java/org/jackhuang/hmcl/ui/LogWindow.java index 23bd1a6e1..42acfd20b 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/ui/LogWindow.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/ui/LogWindow.java @@ -177,7 +177,7 @@ public final class LogWindow extends Stage { cboLines.getSelectionModel().select(2); cboLines.getSelectionModel().selectedItemProperty().addListener((a, b, newValue) -> { - config().setLogLines(newValue == null ? 100 : Integer.parseInt(newValue)); + config().setLogLines(newValue == null ? 1000 : Integer.parseInt(newValue)); }); Log4jLevel[] levels = new Log4jLevel[]{Log4jLevel.FATAL, Log4jLevel.ERROR, Log4jLevel.WARN, Log4jLevel.INFO, Log4jLevel.DEBUG};