From 46b2503cabd2f9d072ab0dd825b5819a97b5bba9 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 23 Apr 2024 15:11:52 -0600 Subject: [PATCH] log --- src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java b/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java index 18bd5407..ea970b5b 100644 --- a/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java +++ b/src/main/java/gov/usgs/earthquake/nshmp/www/ServletUtil.java @@ -15,6 +15,7 @@ import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; import org.slf4j.Logger; +import org.slf4j.LoggerFactory; import com.google.common.base.Stopwatch; import com.google.common.util.concurrent.ListeningExecutorService; @@ -100,6 +101,9 @@ public class ServletUtil { @EventListener void startup(StartupEvent event) { + Logger log = LoggerFactory.getLogger(getClass()); + + log.info("on startup: load model"); HAZARD_MODEL = loadModel(modelPath); } -- GitLab