From 02415a61fa81b751d59fb481fa4abe0e23bfc075 Mon Sep 17 00:00:00 2001 From: Jordan Padams Date: Fri, 23 Feb 2024 12:10:38 -0800 Subject: [PATCH] Add slf4j dependencies --- pom.xml | 14 ++++++++++++++ .../pds/imaging/generate/GenerateLauncher.java | 2 +- .../gov/nasa/pds/imaging/generate/Generator.java | 2 +- .../nasa/pds/imaging/generate/label/ItemNode.java | 2 +- 4 files changed, 17 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 8139a89..a731ba4 100644 --- a/pom.xml +++ b/pom.xml @@ -206,6 +206,20 @@ pds3-product-tools ${pds3-product-tools-version} + + + org.slf4j + slf4j-api + 2.0.12 + compile + + + + org.slf4j + slf4j-simple + 2.0.12 + compile + diff --git a/src/main/java/gov/nasa/pds/imaging/generate/GenerateLauncher.java b/src/main/java/gov/nasa/pds/imaging/generate/GenerateLauncher.java index e9d2765..d4f7441 100644 --- a/src/main/java/gov/nasa/pds/imaging/generate/GenerateLauncher.java +++ b/src/main/java/gov/nasa/pds/imaging/generate/GenerateLauncher.java @@ -63,7 +63,7 @@ public class GenerateLauncher { /** Logger. **/ - private static Logger LOGGER = LoggerFactory.getLogger(GenerateLauncher.class.getName()); + private static Logger LOGGER = LoggerFactory.getLogger(GenerateLauncher.class); private String basePath; private List lblList; diff --git a/src/main/java/gov/nasa/pds/imaging/generate/Generator.java b/src/main/java/gov/nasa/pds/imaging/generate/Generator.java index 3bb6917..c7f7dca 100644 --- a/src/main/java/gov/nasa/pds/imaging/generate/Generator.java +++ b/src/main/java/gov/nasa/pds/imaging/generate/Generator.java @@ -76,7 +76,7 @@ public class Generator { - private static final Logger LOGGER = LoggerFactory.getLogger(Generator.class.getName()); + private static final Logger LOGGER = LoggerFactory.getLogger(Generator.class); private Map pdsObjects ; private Template template; diff --git a/src/main/java/gov/nasa/pds/imaging/generate/label/ItemNode.java b/src/main/java/gov/nasa/pds/imaging/generate/label/ItemNode.java index 4e88cfc..8af2446 100644 --- a/src/main/java/gov/nasa/pds/imaging/generate/label/ItemNode.java +++ b/src/main/java/gov/nasa/pds/imaging/generate/label/ItemNode.java @@ -39,7 +39,7 @@ import org.slf4j.LoggerFactory; public class ItemNode extends ArrayList{ - private static final Logger LOGGER = LoggerFactory.getLogger(ItemNode.class.getName()); + private static final Logger LOGGER = LoggerFactory.getLogger(ItemNode.class); private String name; public String units;