From 70f8521efd6712e04188bd03631d3ac105879daf Mon Sep 17 00:00:00 2001 From: Davin Chia Date: Thu, 11 Nov 2021 18:18:31 +0800 Subject: [PATCH] Add logging to make clear what is happening when server starts. (#7858) --- airbyte-server/src/main/java/io/airbyte/server/ServerApp.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java b/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java index b05fb8b22451..84bb4cb5ab86 100644 --- a/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java +++ b/airbyte-server/src/main/java/io/airbyte/server/ServerApp.java @@ -246,7 +246,10 @@ public static ServerRunnable getServer(final ServerFactory apiFactory, final Con LOGGER.info("Starting server..."); runFlywayMigration(configs, configDatabase, jobDatabase); + LOGGER.info("Ran Flyway migrations..."); + configPersistence.loadData(seed); + LOGGER.info("Loaded seed data..."); // todo (lmossman) - this will only exist temporarily to ensure all definitions contain specs. It // will be removed after the faux major version bump @@ -256,6 +259,7 @@ public static ServerRunnable getServer(final ServerFactory apiFactory, final Con trackingClient, configs.getWorkerEnvironment(), configs.getLogConfigs()); + LOGGER.info("Migrated all definitions to contain specs..."); return apiFactory.create( schedulerJobClient,