diff --git a/app/src/log4j2.xml b/app/src/log4j2.xml index fe7202640..64f6b8f06 100644 --- a/app/src/log4j2.xml +++ b/app/src/log4j2.xml @@ -8,8 +8,8 @@ - %d{yyyy-MM-dd'T'HH:mm:ss.SSSXXX}{UTC} %p %c{1.}:%L [%t] %m%n diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 470be5972..d8e9b1cac 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -208,7 +208,8 @@ public class Base { BaseNoGui.initPortableFolder(); // This configure the logs root folder - System.setProperty("log4j.saveDirectory", BaseNoGui.getSettingsFolder().getAbsolutePath()); + System.out.println("Set log4j store directory " + BaseNoGui.getSettingsFolder().getAbsolutePath()); + System.setProperty("log4j.dir", BaseNoGui.getSettingsFolder().getAbsolutePath()); // Look for a possible "--preferences-file" parameter and load preferences BaseNoGui.initParameters(args);