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, initializeWithSensibleDefaults
get
public LogbackLoggingSystem(ClassLoader classLoader)
public void beforeInitialize()
LoggingSystem
LoggingSystem.initialize()
to reduce logging noise until the systems has been full
Initialized.beforeInitialize
in class AbstractLoggingSystem
public void initialize(String configLocation)
LoggingSystem
initialize
in class LoggingSystem
configLocation
- a log configuration locationpublic void setLogLevel(String loggerName, LogLevel level)
LoggingSystem
setLogLevel
in class LoggingSystem
loggerName
- the name of the logger to setlevel
- the log levelCopyright © 2014 Pivotal Software, Inc.. All rights reserved.