[slf4j-dev] [JIRA] (SLF4J-489) Add java.util.logging.config.class for SLF4JBridgeHandler

QOS.CH (JIRA) noreply-jira at qos.ch
Fri Jun 5 16:41:00 CEST 2020


    [ https://jira.qos.ch/browse/SLF4J-489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20451#comment-20451 ] 

Martin Vanek commented on SLF4J-489:
------------------------------------

Refreshed PR [https://github.com/qos-ch/slf4j/pull/237]

> Add java.util.logging.config.class for SLF4JBridgeHandler
> ---------------------------------------------------------
>
>                 Key: SLF4J-489
>                 URL: https://jira.qos.ch/browse/SLF4J-489
>             Project: SLF4J
>          Issue Type: Improvement
>          Components: jul-to-slf4j
>    Affects Versions: 1.7.29
>            Reporter: Martin Vanek
>            Assignee: SLF4J developers list
>            Priority: Minor
>             Fix For: 2.0.0-alpha2, 1.7.30
>
>
> Add JUL java.util.logging.config.class implementation to be able to easily use code-less SLF4JBridgeHandler initialization using JVM parameter
> -Djava.util.logging.config.class=org.slf4j.bridge.SLF4JBridgeHandler.Initializer
> It simply adds org.slf4j.bridge.SLF4JBridgeHandler as root j.u.l Logger handler. No need for logging.properties and java.util.logging.config.file which can't be taken from classpath and must be filesystem path.
> See [https://docs.oracle.com/javase/10/docs/api/java/util/logging/LogManager.html]



--
This message was sent by Atlassian JIRA
(v7.3.1#73012)


More information about the slf4j-dev mailing list