diff --git a/pass-grant-loader/pass-grant-cli/src/main/java/org/eclipse/pass/support/grant/cli/JhuGrantLoaderApp.java b/pass-grant-loader/pass-grant-cli/src/main/java/org/eclipse/pass/support/grant/cli/JhuGrantLoaderApp.java index 38be9fb7..e0a04ee9 100644 --- a/pass-grant-loader/pass-grant-cli/src/main/java/org/eclipse/pass/support/grant/cli/JhuGrantLoaderApp.java +++ b/pass-grant-loader/pass-grant-cli/src/main/java/org/eclipse/pass/support/grant/cli/JhuGrantLoaderApp.java @@ -22,10 +22,14 @@ import org.eclipse.pass.support.grant.data.JhuPassInitUpdater; import org.eclipse.pass.support.grant.data.JhuPassUpdater; import org.eclipse.pass.support.grant.data.PassUpdater; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; class JhuGrantLoaderApp extends BaseGrantLoaderApp { - boolean init; + private static final Logger LOG = LoggerFactory.getLogger(JhuGrantLoaderApp.class); + + private final boolean init; JhuGrantLoaderApp(String startDate, String awardEndDate, boolean email, String mode, String action, String dataFileName, boolean init, String grant) { @@ -47,6 +51,7 @@ GrantConnector configureConnector(Properties connectionProperties, Properties po @Override PassUpdater configureUpdater() { if (init) { + LOG.warn("**Grant Loader running in init mode**"); return new JhuPassInitUpdater(); } return new JhuPassUpdater(); diff --git a/pass-grant-loader/pass-grant-cli/src/main/resources/logback.xml b/pass-grant-loader/pass-grant-cli/src/main/resources/logback.xml index 72a75f61..1565d143 100644 --- a/pass-grant-loader/pass-grant-cli/src/main/resources/logback.xml +++ b/pass-grant-loader/pass-grant-cli/src/main/resources/logback.xml @@ -27,4 +27,7 @@ + + + \ No newline at end of file