public class AccessLogFormatParser extends Object
In addition, the following aliases for commonly utilized patterns:
%h %l %u %t "%r" %s %b Common Log Format (CLF)%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-Agent}i" Combined Log Format| Modifier and Type | Field and Description | 
|---|---|
| static String | COMBINED_LOG_FORMATThe combined log format. | 
| static String | COMMON_LOG_FORMATThe common log format. | 
| Constructor and Description | 
|---|
| AccessLogFormatParser(String spec)Creates an AccessLogFormatParser. | 
| Modifier and Type | Method and Description | 
|---|---|
| AccessLog | newAccessLogger()Returns a new AccessLogger for the specified log format. | 
| String | toString() | 
public static final String COMBINED_LOG_FORMAT
public static final String COMMON_LOG_FORMAT
public AccessLogFormatParser(String spec)
spec - The log format. When null the Common Log Format is used.