Skip to content

Commit

Permalink
add some logging
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Oct 16, 2020
1 parent c5de28f commit b0df85d
Showing 1 changed file with 5 additions and 3 deletions.
Expand Up @@ -194,7 +194,9 @@ public void start() {

if (autoCreate) {
if (isMultiServerMode()) {
File enginesDir = new File(AbstractCommandLauncher.getEnginesDir());
String enginesDirname = AbstractCommandLauncher.getEnginesDir();
log.info("Starting in multi-server mode with engines directory at {}", enginesDirname);
File enginesDir = new File(enginesDirname);
File[] files = null;

if (enginesDir != null) {
Expand Down Expand Up @@ -227,6 +229,7 @@ public void start() {
}

} else {
log.info("Starting in single-server mode");
enginesStarting.add(new EngineStarter(singleServerPropertiesFile));
}

Expand All @@ -249,8 +252,7 @@ public void start() {
public void uninstallEngine(ISymmetricEngine engine) {
Node node = engine.getNodeService().getCachedIdentity();
String engineName = engine.getEngineName();
File file = new SymmetricAdmin("uninstall", "", "")
.findPropertiesFileForEngineWithName(engineName);
File file = SymmetricAdmin.findPropertiesFileForEngineWithName(engineName);
engine.uninstall();
engine.destroy();
if (file != null) {
Expand Down

0 comments on commit b0df85d

Please sign in to comment.