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;