From c626521dc8c004dbcdd95ec519f5375b3afd7e69 Mon Sep 17 00:00:00 2001 From: ljacqu Date: Wed, 27 Jan 2016 21:32:29 +0100 Subject: [PATCH] #473 Add logConsole setting - Add missing logConsole setting - Set true as default value, as suggested by games647 --- .../fr/xephi/authme/settings/properties/SecuritySettings.java | 4 ++++ src/main/resources/config.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java b/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java index 955e35c1..6a2ace71 100644 --- a/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java +++ b/src/main/java/fr/xephi/authme/settings/properties/SecuritySettings.java @@ -30,6 +30,10 @@ public class SecuritySettings implements SettingsClass { public static final Property REMOVE_PASSWORD_FROM_CONSOLE = newProperty("Security.console.removePassword", true); + @Comment("Copy AuthMe log output in a separate file as well?") + public static final Property USE_LOGGING = + newProperty("Security.console.logConsole", true); + @Comment("Player need to put a captcha when he fails too lot the password") public static final Property USE_CAPTCHA = newProperty("Security.captcha.useCaptcha", false); diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index d2e0a9e7..0bc81202 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -305,6 +305,8 @@ Security: noConsoleSpam: false # Replace passwords in the console when player type a command like /login removePassword: true + # Copy AuthMe log output in a separate file as well? + logConsole: true captcha: # Player need to put a captcha when he fails too lot the password useCaptcha: false