简体   繁体   中英

non logback java util logging to slf4j bridge?

I am looking for a good way (perfoemance wise) to bridge between jul and slf4j.

I am not using logback so the "LevelChangePropagator" in logback won't help.

I've found this nice page: http://people.apache.org/~psmith/logging.apache.org/sandbox/jul-log4j-bridge/examples.html , but it's old and looks discontinued.

any ideas?

cirect bridge from jul to log4j can also work (haven't found one though).

http://www.slf4j.org/legacy.html#jul-to-slf4j

The jul-to-slf4j module includes a java.util.logging (jul) handler, namely SLF4JBridgeHandler, which routes all incoming jul records to the SLF4j API

Sounds like what you're looking for?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM