|
Brooklyn | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbrooklyn.util.logging.LoggingSetup
public class LoggingSetup
Method Summary | |
---|---|
static void
|
installJavaUtilLoggingBridge()
bridge java.util.logging messages to slf4j |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Method Detail |
---|
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
Brooklyn Multi-Cloud Application Management Platform
brooklyncentral.github.com. Apache License. © 2012.