Skip to content
Snippets Groups Projects
Commit 129dc5be authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

remove logger

parent f9096948
No related branches found
No related tags found
1 merge request!223Lambda
package gov.usgs.earthquake.nshmp.www.gmm;
import java.util.logging.Logger;
import org.crac.Context;
import org.crac.Resource;
......@@ -15,15 +13,12 @@ import jakarta.inject.Singleton;
@Singleton
public class PrimingResource implements OrderedResource {
private static Logger LOGGER = Logger.getLogger(PrimingResource.class.getName());
@Value("${nshmp.context-path}")
String contextPath;
@Override
public void beforeCheckpoint(Context<? extends Resource> context) throws Exception {
LOGGER.info("Priming resource");
try (MicronautLambdaHandler handler = new MicronautLambdaHandler()) {
handler.handleRequest(
getAwsProxyRequest(contextPath + "/gmm/spectra"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment