mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 09:00:26 +00:00
Make writing log files optional
This commit is contained in:
parent
8199fba5cc
commit
b7704b8013
2 changed files with 1 additions and 2 deletions
|
@ -73,7 +73,7 @@ public class AppLogs {
|
|||
return Boolean.parseBoolean(System.getProperty(WRITE_LOGS_PROP));
|
||||
}
|
||||
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
private static boolean shouldWriteSysout() {
|
||||
|
|
1
dist/jpackage.gradle
vendored
1
dist/jpackage.gradle
vendored
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue