Module io.jstach.rainbowgum.jul


module io.jstach.rainbowgum.jul
Rainbow Gum JUL (java.util.logging) integration. This module installs a Handler on the JUL root logger so that any java.util.logging.Logger usage (including from libraries and frameworks that log via JUL directly, e.g. embedded Tomcat) is routed through Rainbow Gum.

This is a separate module (rather than being bundled directly into io.jstach.rainbowgum.jdk) specifically so that it can be opted out of by simply excluding this artifact, instead of relying on a properties-based disable flag. To disable installation of the handler while still depending on this module set the property: "logging.jul.disable" to true. Alternatively if in a custom modular environment using jlink and the module java.logging is not included the handler will not be installed. Furthermore the module java.logging is not required and thus jlink might not automatically include it as it is requires static.