Fork me on GitHub
#timbre
<
2020-02-05
>
acron10:02:54

Does anyone have any experience of intercepting java.util.logging log writes? I would like all my logs to go via timbre and I am aware of libraries like slf4j-timbre, but iiuc I am dealing with java.util.logging, not SLF4J and I can't seem to find an equivalent library

tanzoniteblack17:02:15

@acron, if you combine slf4j-timbre with [org.slf4j/jul-to-slf4j "1.7.30"] (which is talked about under https://github.com/fzakaria/slf4j-timbre#other-logging-frameworks ), java.util.logging messages will be sent to slf4j, which will then be logged through timbre

acron17:02:44

Yikes, thanks