Skip to content

Commit

Permalink
#28259 Extra log disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
serjiokov committed May 8, 2024
1 parent 37182ed commit 558c6f6
Showing 1 changed file with 4 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public class DBeaverLauncher {
/**
* Indicates whether this instance is running in debug mode.
*/
protected boolean debug = true;
protected boolean debug = false;

/**
* The location of the launcher to run.
Expand Down Expand Up @@ -1791,16 +1791,9 @@ private URL getConfigurationLocation() {
*/
private URL buildProductURL() {
try {
URL instalationUrl = new URL(getInstallLocation(), CONFIG_DIR);
if (debug) {
System.out.println("Get Install Location:" + instalationUrl); //$NON-NLS-1$
}
boolean checkReadWriteInstallLocation = checkConfigurationLocation(instalationUrl);
if (debug) {
System.out.println("Check Configuration Location:" + checkReadWriteInstallLocation); //$NON-NLS-1$
}
if (checkReadWriteInstallLocation) {
return instalationUrl;
URL installationUrl = new URL(getInstallLocation(), CONFIG_DIR);
if (checkConfigurationLocation(installationUrl)) {
return installationUrl;
}
} catch (Exception e) {
if (debug) {
Expand Down

0 comments on commit 558c6f6

Please sign in to comment.