Class JettyServerProperties.Accesslog
java.lang.Object
org.springframework.boot.jetty.autoconfigure.JettyServerProperties.Accesslog
- Enclosing class:
JettyServerProperties
Jetty access log properties.
- Since:
- 4.0.0
- Author:
- Dave Syer, Stephane Nicoll, Andy Wilkinson, Ivan Sopov, Marcos Barbero, Eddú Meléndez, Quinten De Swaef, Venil Noronha, Aurélien Leboulanger, Brian Clozel, Olivier Lamy, Chentao Qu, Artsiom Yudovin, Andrew McGhie, Rafiullah Hamedy, Dirk Deyne, HaiTao Zhang, Victor Mandujano, Chris Bono, Parviz Rozikov, Florian Storz, Michael Weidmann, Lasse Wulff
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Log format for Jetty access logs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String
@Nullable String
@Nullable String
int
boolean
isAppend()
boolean
void
setAppend
(boolean append) void
setCustomFormat
(@Nullable String customFormat) void
setEnabled
(boolean enabled) void
setFileDateFormat
(@Nullable String fileDateFormat) void
setFilename
(@Nullable String filename) void
void
setIgnorePaths
(@Nullable List<String> ignorePaths) void
setRetentionPeriod
(int retentionPeriod)
-
Constructor Details
-
Accesslog
public Accesslog()
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
getFormat
-
setFormat
-
getCustomFormat
-
setCustomFormat
-
getFilename
-
setFilename
-
getFileDateFormat
-
setFileDateFormat
-
getRetentionPeriod
public int getRetentionPeriod() -
setRetentionPeriod
public void setRetentionPeriod(int retentionPeriod) -
isAppend
public boolean isAppend() -
setAppend
public void setAppend(boolean append) -
getIgnorePaths
-
setIgnorePaths
-