Skip to content

Commit

Permalink
Add logging to make clear what is happening when server starts. (#7858)
Browse files Browse the repository at this point in the history
  • Loading branch information
davinchia committed Nov 11, 2021
1 parent def1667 commit 70f8521
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions airbyte-server/src/main/java/io/airbyte/server/ServerApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit 70f8521

Please sign in to comment.