Skip to content

Commit

Permalink
fixed loading proper logging config
Browse files Browse the repository at this point in the history
  • Loading branch information
ai-republic committed Jan 29, 2024
1 parent 494fcc4 commit eb5e00b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified configurator/current/configurator.jar
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,8 @@ private void buildApplication(final JTextArea out) throws Throwable {
}

// generate start scripts
final StringBuffer windowsCommands = new StringBuffer("start \"\" java -jar lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml\n");
final StringBuffer linuxCommands = new StringBuffer("#!/bin/bash\njava -jar lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml &\n");
final StringBuffer windowsCommands = new StringBuffer("start \"\" java -jar -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar\n");
final StringBuffer linuxCommands = new StringBuffer("#!/bin/bash\njava -jar -DconfigFile=config/config.properties -Dlog4j2.configurationFile=file:config/log4j2.xml lib/bms-to-inverter-main-0.0.1-SNAPSHOT.jar &\n");

if (servicesPanel.isWebserverEnabled()) {
windowsCommands.append("start \"\" java -jar lib/webserver-0.0.1-SNAPSHOT.jar --spring.config.location=file:config/config.properties\n");
Expand Down

0 comments on commit eb5e00b

Please sign in to comment.