Ver a proveniência

add log statements

tags/v1.5.4
Jonathan Cobb há 3 anos
ascendente
cometimento
46db46200b
1 ficheiros alterados com 4 adições e 0 eliminações
  1. +4
    -0
      bubble-server/src/main/java/bubble/server/BubbleServer.java

+ 4
- 0
bubble-server/src/main/java/bubble/server/BubbleServer.java Ver ficheiro

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


Carregando…
Cancelar
Guardar