diff --git a/base/src/main/java/de/staropensource/engine/base/EngineConfiguration.java b/base/src/main/java/de/staropensource/engine/base/EngineConfiguration.java index 32eb73ee..7b800337 100644 --- a/base/src/main/java/de/staropensource/engine/base/EngineConfiguration.java +++ b/base/src/main/java/de/staropensource/engine/base/EngineConfiguration.java @@ -237,20 +237,6 @@ public final class EngineConfiguration extends Configuration { */ private Set<@NotNull String> logFeatures; - /** - * Contains the logging template used for creating log messages. - * - * @see Logger - * @since v1-alpha0 - * -- GETTER -- - * Gets the value for {@link #logTemplate} - * - * @return variable value - * @see #logTemplate - * @since v1-alpha0 - */ - private String logTemplate; - /** * Contains how fast the logging thread will * poll for queued messages. This also causes @@ -362,7 +348,6 @@ public final class EngineConfiguration extends Configuration { } } case "logFeatures" -> logFeatures = Set.copyOf(Arrays.stream(parser.getString(group + property).split(",")).toList()); - case "logTemplate" -> logTemplate = parser.getString(group + property); case "logPollingSpeed" -> logPollingSpeed = parser.getInteger(group + property, true); case "logForceStandardOutput" -> logForceStandardOutput = parser.getBoolean(group + property); @@ -396,7 +381,6 @@ public final class EngineConfiguration extends Configuration { logLevel = LogLevel.INFORMATIONAL; logFeatures = Set.of("formatting", "time", "methodName", "lineNumber"); - logTemplate = "%log_color_primary%[%time_hour%:%time_minute%:%time_second%] [%log_level% %log_path%%log_metadata%] %log_message_prefix%%log_color_primary%%log_color_secondary%%log_message%"; logPollingSpeed = 5; logForceStandardOutput = false; @@ -420,7 +404,6 @@ public final class EngineConfiguration extends Configuration { case "logLevel" -> logLevel; case "logFeatures" -> logFeatures; - case "logTemplate" -> logTemplate; case "logPollingSpeed" -> logPollingSpeed; case "logForceStandardOutput" -> logForceStandardOutput; diff --git a/base/src/main/java/de/staropensource/engine/base/logging/backend/CrashHandler.java b/base/src/main/java/de/staropensource/engine/base/logging/backend/CrashHandler.java index 4a04f570..5571c109 100644 --- a/base/src/main/java/de/staropensource/engine/base/logging/backend/CrashHandler.java +++ b/base/src/main/java/de/staropensource/engine/base/logging/backend/CrashHandler.java @@ -246,10 +246,6 @@ public final class CrashHandler { .append(EngineConfiguration.getInstance().getLogFeatures()) .append("'\n") - .append("EngineConfiguration#logTemplate='") - .append(EngineConfiguration.getInstance().getLogTemplate()) - .append("'\n") - .append("EngineConfiguration#logPollingSpeed='") .append(EngineConfiguration.getInstance().getLogPollingSpeed()) .append("'\n")