From 1b3a5d625bdf08aa06702d4483efbc7808499926 Mon Sep 17 00:00:00 2001 From: Oleg Agafonov Date: Sun, 26 Jan 2020 16:34:04 +0400 Subject: [PATCH] * Other: fixed problem with too big mageclient.log file, now it will be clean after 10MB (log files rotation); --- Mage.Client/release/config/log4j.properties | 2 +- Mage.Client/src/main/resources/log4j.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Mage.Client/release/config/log4j.properties b/Mage.Client/release/config/log4j.properties index ca9449888f..6fdd5c0405 100644 --- a/Mage.Client/release/config/log4j.properties +++ b/Mage.Client/release/config/log4j.properties @@ -1,7 +1,7 @@ #SAMPLE CLIENT CONFIG (you must enable it by command line) #default log level and active appenders (dest for logs) -log4j.rootLogger=info, console, logfile +log4j.rootLogger=info, console, logfileByIndex #custom log level for java classes #log4j.logger.com.j256.ormlite=warn diff --git a/Mage.Client/src/main/resources/log4j.properties b/Mage.Client/src/main/resources/log4j.properties index 336d88d9b9..0dc306b25b 100644 --- a/Mage.Client/src/main/resources/log4j.properties +++ b/Mage.Client/src/main/resources/log4j.properties @@ -1,7 +1,7 @@ #default settings (uses for CLIENT run) #default log level and active appenders (dest for logs) -log4j.rootLogger=info, console, logfile +log4j.rootLogger=info, console, logfileByIndex #custom log level for java classes #log4j.logger.com.j256.ormlite=warn