Print Pantheon version at starting. (#1593)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Adrian Sutton 6 years ago committed by GitHub
parent e135630d60
commit 61d19411ba
  1. 3
      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_PORT;
import static tech.pegasys.pantheon.metrics.prometheus.MetricsConfiguration.DEFAULT_METRICS_PUSH_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.Runner;
import tech.pegasys.pantheon.RunnerBuilder; import tech.pegasys.pantheon.RunnerBuilder;
import tech.pegasys.pantheon.cli.PublicKeySubCommand.KeyLoader; import tech.pegasys.pantheon.cli.PublicKeySubCommand.KeyLoader;
@ -691,6 +692,8 @@ public class PantheonCommand implements DefaultCommandValues, Runnable {
Configurator.setAllLevels("", logLevel); Configurator.setAllLevels("", logLevel);
} }
logger.info("Starting Pantheon version: {}", PantheonInfo.version());
// Check that P2P options are able to work or send an error // Check that P2P options are able to work or send an error
checkOptionDependencies( checkOptionDependencies(
logger, logger,

Loading…
Cancel
Save