diff --git a/pom.xml b/pom.xml index ab5cfcc..c30c335 100644 --- a/pom.xml +++ b/pom.xml @@ -24,6 +24,12 @@ + + io.avaje + avaje-applog + 1.0 + + org.yaml @@ -46,10 +52,17 @@ test + + + + + + + io.avaje - avaje-slf4j-jpl - 1.1 + avaje-applog-slf4j + 1.0 test diff --git a/src/main/java/io/avaje/config/Config.java b/src/main/java/io/avaje/config/Config.java index 2942b33..60d1558 100644 --- a/src/main/java/io/avaje/config/Config.java +++ b/src/main/java/io/avaje/config/Config.java @@ -7,6 +7,7 @@ import java.util.Optional; import java.util.Properties; import java.util.function.Consumer; +import io.avaje.applog.AppLog; /** * Provides application Configuration based on loading properties and yaml files @@ -30,7 +31,7 @@ */ public class Config { - static final System.Logger log = System.getLogger("io.avaje.config"); + static final System.Logger log = AppLog.getLogger("io.avaje.config"); private static final Configuration data = CoreConfiguration.initialise(); diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java index 503f258..407e7b9 100644 --- a/src/main/java/module-info.java +++ b/src/main/java/module-info.java @@ -2,6 +2,7 @@ exports io.avaje.config; + requires transitive io.avaje.applog; requires static org.yaml.snakeyaml; uses io.avaje.config.ConfigurationSource;