Pārlūkot izejas kodu

add log statements

tags/v1.5.4
Jonathan Cobb pirms 3 gadiem
vecāks
revīzija
46db46200b
1 mainītis faili ar 4 papildinājumiem un 0 dzēšanām
  1. +4
    -0
      bubble-server/src/main/java/bubble/server/BubbleServer.java

+ 4
- 0
bubble-server/src/main/java/bubble/server/BubbleServer.java Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt