Package org.apache.solr.logging.jul
Class JulWatcher
- java.lang.Object
- 
- org.apache.solr.logging.LogWatcher<LogRecord>
- 
- org.apache.solr.logging.jul.JulWatcher
 
 
- 
 public class JulWatcher extends LogWatcher<LogRecord> 
- 
- 
Field Summary- 
Fields inherited from class org.apache.solr.logging.LogWatcherhistory, last
 
- 
 - 
Constructor SummaryConstructors Constructor Description JulWatcher(String name)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>getAllLevels()Collection<LoggerInfo>getAllLoggers()StringgetName()StringgetThreshold()voidregisterListener(ListenerConfig cfg)voidsetLogLevel(String category, String level)Sets the log level within this frameworkvoidsetThreshold(String level)org.apache.solr.common.SolrDocumenttoSolrDocument(LogRecord event)- 
Methods inherited from class org.apache.solr.logging.LogWatcheradd, getHistory, getHistorySize, getLastEvent, newRegisteredLogWatcher, reset
 
- 
 
- 
- 
- 
Constructor Detail- 
JulWatcherpublic JulWatcher(String name) 
 
- 
 - 
Method Detail- 
getNamepublic String getName() - Specified by:
- getNamein class- LogWatcher<LogRecord>
- Returns:
- The implementation name
 
 - 
getAllLevelspublic List<String> getAllLevels() - Specified by:
- getAllLevelsin class- LogWatcher<LogRecord>
- Returns:
- The valid level names for this framework
 
 - 
setLogLevelpublic void setLogLevel(String category, String level) Description copied from class:LogWatcherSets the log level within this framework- Specified by:
- setLogLevelin class- LogWatcher<LogRecord>
 
 - 
getAllLoggerspublic Collection<LoggerInfo> getAllLoggers() - Specified by:
- getAllLoggersin class- LogWatcher<LogRecord>
- Returns:
- all registered loggers
 
 - 
setThresholdpublic void setThreshold(String level) - Specified by:
- setThresholdin class- LogWatcher<LogRecord>
 
 - 
getThresholdpublic String getThreshold() - Specified by:
- getThresholdin class- LogWatcher<LogRecord>
 
 - 
registerListenerpublic void registerListener(ListenerConfig cfg) - Specified by:
- registerListenerin class- LogWatcher<LogRecord>
 
 - 
toSolrDocumentpublic org.apache.solr.common.SolrDocument toSolrDocument(LogRecord event) - Specified by:
- toSolrDocumentin class- LogWatcher<LogRecord>
 
 
- 
 
-