public class LogbackLoggingSystem extends AbstractLoggingSystem
LoggingSystem for for logback.| Constructor and Description |
|---|
LogbackLoggingSystem(ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeInitialize()
Reset the logging system to be limit output.
|
void |
initialize(String configLocation)
Initialize the logging system from a logging configuration location.
|
void |
setLogLevel(String loggerName,
LogLevel level)
Sets the logging level for a given logger.
|
getClassLoader, getPackagedConfigFile, initialize, initializeWithSensibleDefaultsgetpublic LogbackLoggingSystem(ClassLoader classLoader)
public void beforeInitialize()
LoggingSystemLoggingSystem.initialize() to reduce logging noise until the systems has been full
Initialized.beforeInitialize in class AbstractLoggingSystempublic void initialize(String configLocation)
LoggingSysteminitialize in class LoggingSystemconfigLocation - a log configuration locationpublic void setLogLevel(String loggerName, LogLevel level)
LoggingSystemsetLogLevel in class LoggingSystemloggerName - the name of the logger to setlevel - the log levelCopyright © 2014 Pivotal Software, Inc.. All rights reserved.