public class LoggingSetup
extends java.lang.Object
Constructor and Description |
---|
LoggingSetup() |
Modifier and Type | Method and Description |
---|---|
static void |
installJavaUtilLoggingBridge()
bridge java.util.logging messages to slf4j
|
public static void installJavaUtilLoggingBridge()
without this, we get ugly java.util.logging messages on the console and _not_ in the file; with this, the excludes rules (which route the common j.u.l categories to the file _only_) will apply to j.u.l loggers
typically this is invoked in a static block on a class (in tests and in BrooklynWebServer) or could be done on app startup