Improve logging modules and listing #984

added jul-slf4j
updated logging dependencies
This commit is contained in:
Greg Wilkins 2016-10-19 16:23:58 +11:00
parent b82d4ee2fe
commit a32923b66e
7 changed files with 31 additions and 3 deletions

View File

@ -8,7 +8,6 @@ gcloud
[depends] [depends]
gcloud gcloud
jcl-slf4j jcl-slf4j
slf4j-impl
[files] [files]
maven://com.google.cloud/google-cloud-datastore/0.4.0|lib/gcloud/google-cloud-datastore-0.4.0.jar maven://com.google.cloud/google-cloud-datastore/0.4.0|lib/gcloud/google-cloud-datastore-0.4.0.jar

View File

@ -8,7 +8,7 @@ slf4j
internal internal
[depends] [depends]
slf4j-api slf4j-impl
[provides] [provides]
jcl-api jcl-api

View File

@ -14,7 +14,7 @@ jul-api
jul-impl jul-impl
[files] [files]
basehome:modules/jul/java-util-logging.properties|etc/java-util-logging.properties basehome:modules/jul-impl/java-util-logging.properties|etc/java-util-logging.properties
logs/ logs/
[exec] [exec]

View File

@ -0,0 +1,24 @@
[description]
Provides a Java Util Loggin binding to SLF4J logging.
[tags]
logging
slf4j
internal
[depend]
slf4j-impl
[provide]
jul-impl
[files]
maven://org.slf4j/jul-to-slf4j/${slf4j.version}|lib/slf4j/jul-to-slf4j-${slf4j.version}.jar
basehome:modules/jul-slf4j/java-util-logging.properties|etc/java-util-logging.properties
[lib]
lib/slf4j/jul-to-slf4j-${slf4j.version}.jar
[exec]
-Djava.util.logging.config.file=etc/java-util-logging.properties

View File

@ -0,0 +1,2 @@
handlers = org.slf4j.bridge.SLF4JBridgeHandler
.level = INFO

View File

@ -11,6 +11,9 @@ internal
slf4j-api slf4j-api
resources resources
[provide]
slf4j-impl
[files] [files]
maven://org.slf4j/slf4j-simple/${slf4j.version}|lib/slf4j/slf4j-simple-${slf4j.version}.jar maven://org.slf4j/slf4j-simple/${slf4j.version}|lib/slf4j/slf4j-simple-${slf4j.version}.jar
basehome:modules/slf4j/simplelogger.properties|resources/simplelogger.properties basehome:modules/slf4j/simplelogger.properties|resources/simplelogger.properties