Browse Source

add log statements

tags/v1.5.4
Jonathan Cobb 3 years ago
parent
commit
46db46200b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      bubble-server/src/main/java/bubble/server/BubbleServer.java

+ 4
- 0
bubble-server/src/main/java/bubble/server/BubbleServer.java View File

@@ -126,7 +126,11 @@ public class BubbleServer extends RestServerBase<BubbleConfiguration> {
final File envFile = getEnvFile(args);
if (envFile == null) return die("loadEnvironment: no env file found");
if (!envFile.exists()) return die("loadEnvironment: env file does not exist: "+abs(envFile));

log.info("loadEnvironment: loading env from: "+abs(envFile));
env.putAll(loadShellExports(envFile));
log.debug("loadEnvironment: loaded env="+json(env));

} catch (Exception e) {
log.warn("Error loading environment: "+e);
}


Loading…
Cancel
Save