Procházet zdrojové kódy

add log statements

tags/v1.5.4
Jonathan Cobb před 3 roky
rodič
revize
46db46200b
1 změnil soubory, kde provedl 4 přidání a 0 odebrání
  1. +4
    -0
      bubble-server/src/main/java/bubble/server/BubbleServer.java

+ 4
- 0
bubble-server/src/main/java/bubble/server/BubbleServer.java Zobrazit soubor

@@ -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);
}


Načítá se…
Zrušit
Uložit