Make writing log files optional

This commit is contained in:
crschnick 2023-08-10 15:41:04 +00:00
parent 8199fba5cc
commit b7704b8013
2 changed files with 1 additions and 2 deletions

View file

@ -73,7 +73,7 @@ public class AppLogs {
return Boolean.parseBoolean(System.getProperty(WRITE_LOGS_PROP));
}
return false;
return true;
}
private static boolean shouldWriteSysout() {

View file

@ -5,7 +5,6 @@ def distDir = "$buildDir/dist"
def distJvmArgs = new ArrayList<String>(project(':app').application.applicationDefaultJvmArgs)
def releaseArguments = distJvmArgs + [
'-Dio.xpipe.app.writeLogs=true',
"-Dio.xpipe.app.version=$rootProject.versionString",
"-Dio.xpipe.app.build=$rootProject.versionString-${new Date().format('yyyyMMddHHmm')}",
"-Dio.xpipe.app.buildId=$rootProject.buildId",