Improve logging modules and listing #984
added jul-slf4j updated logging dependencies
This commit is contained in:
parent
b82d4ee2fe
commit
a32923b66e
|
@ -8,7 +8,6 @@ gcloud
|
|||
[depends]
|
||||
gcloud
|
||||
jcl-slf4j
|
||||
slf4j-impl
|
||||
|
||||
[files]
|
||||
maven://com.google.cloud/google-cloud-datastore/0.4.0|lib/gcloud/google-cloud-datastore-0.4.0.jar
|
||||
|
|
|
@ -8,7 +8,7 @@ slf4j
|
|||
internal
|
||||
|
||||
[depends]
|
||||
slf4j-api
|
||||
slf4j-impl
|
||||
|
||||
[provides]
|
||||
jcl-api
|
||||
|
|
|
@ -14,7 +14,7 @@ jul-api
|
|||
jul-impl
|
||||
|
||||
[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/
|
||||
|
||||
[exec]
|
||||
|
|
|
@ -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
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
handlers = org.slf4j.bridge.SLF4JBridgeHandler
|
||||
.level = INFO
|
|
@ -11,6 +11,9 @@ internal
|
|||
slf4j-api
|
||||
resources
|
||||
|
||||
[provide]
|
||||
slf4j-impl
|
||||
|
||||
[files]
|
||||
maven://org.slf4j/slf4j-simple/${slf4j.version}|lib/slf4j/slf4j-simple-${slf4j.version}.jar
|
||||
basehome:modules/slf4j/simplelogger.properties|resources/simplelogger.properties
|
||||
|
|
Loading…
Reference in New Issue