public class SolrLogFormatter extends Formatter
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
SolrLogFormatter.CoreInfo  | 
static class  | 
SolrLogFormatter.Method  | 
static interface  | 
SolrLogFormatter.TG
Add this interface to a thread group and the string returned by
 getTag() will appear in log statements of any threads under that group. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
Map<String,String> | 
classAliases  | 
boolean | 
shorterFormat  | 
| Constructor and Description | 
|---|
SolrLogFormatter()  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
_format(LogRecord record)  | 
void | 
appendThread(StringBuilder sb,
            LogRecord record)  | 
String | 
format(LogRecord record)  | 
String | 
formatMessage(LogRecord record)  | 
String | 
getHead(Handler h)  | 
String | 
getTail(Handler h)  | 
static void | 
go()  | 
static void | 
main(String[] args)  | 
void | 
setShorterFormat()
Removes info that is redundant for current cloud tests including core name, webapp, and common labels path= and params=
 [] webapp=/solr path=/select params={q=foobarbaz} hits=0 status=0 QTime=1
 /select {q=foobarbaz} hits=0 status=0 QTime=1
 NOTE: this is a work in progress and different settings may be ideal for other types of tests. 
 | 
public void setShorterFormat()
public void appendThread(StringBuilder sb, LogRecord record)
public String formatMessage(LogRecord record)
formatMessage in class FormatterCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.