Browse Source

Using "cryptomator" prefix for all JVM args now [ci skip]

Sebastian Stenzel 9 năm trước cách đây
mục cha
commit
8fd0bbd9ed

+ 1 - 1
main/ui/src/main/java/org/cryptomator/ui/settings/SettingsProvider.java

@@ -62,7 +62,7 @@ public class SettingsProvider implements Provider<Settings> {
 	}
 
 	private Path getSettingsPath() throws IOException {
-		String settingsPathProperty = System.getProperty("settingsPath");
+		String settingsPathProperty = System.getProperty("cryptomator.settingsPath");
 		if (settingsPathProperty == null) {
 			return SETTINGS_DIR.resolve(SETTINGS_FILE);
 		} else {

+ 1 - 1
main/ui/src/main/resources/log4j2.xml

@@ -19,7 +19,7 @@
 			<ThresholdFilter level="WARN" onMatch="ACCEPT" onMismatch="DENY" />
 		</Console>
 		<!-- <File fileName="${sys:logPath}" ...> not feasible for paths like ~/foo/bar -->
-		<ConfigurableFile name="File" pathPropertyName="logPath">
+		<ConfigurableFile name="File" pathPropertyName="cryptomator.logPath">
 			<PatternLayout pattern="%16d %-5p [%c{1}:%L] %m%n" />
 		</ConfigurableFile>
 	</Appenders>