From 61d19411bad22fa316c6d07cfdfc492b789f2ef4 Mon Sep 17 00:00:00 2001 From: Adrian Sutton Date: Fri, 21 Jun 2019 13:45:21 +1000 Subject: [PATCH] Print Pantheon version at starting. (#1593) Signed-off-by: Adrian Sutton --- .../main/java/tech/pegasys/pantheon/cli/PantheonCommand.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java b/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java index 8e53314aee..adf68d6d65 100644 --- a/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java +++ b/pantheon/src/main/java/tech/pegasys/pantheon/cli/PantheonCommand.java @@ -28,6 +28,7 @@ import static tech.pegasys.pantheon.metrics.PantheonMetricCategory.DEFAULT_METRI import static tech.pegasys.pantheon.metrics.prometheus.MetricsConfiguration.DEFAULT_METRICS_PORT; import static tech.pegasys.pantheon.metrics.prometheus.MetricsConfiguration.DEFAULT_METRICS_PUSH_PORT; +import tech.pegasys.pantheon.PantheonInfo; import tech.pegasys.pantheon.Runner; import tech.pegasys.pantheon.RunnerBuilder; import tech.pegasys.pantheon.cli.PublicKeySubCommand.KeyLoader; @@ -691,6 +692,8 @@ public class PantheonCommand implements DefaultCommandValues, Runnable { Configurator.setAllLevels("", logLevel); } + logger.info("Starting Pantheon version: {}", PantheonInfo.version()); + // Check that P2P options are able to work or send an error checkOptionDependencies( logger,