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 enumLog format for Jetty access logs. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable String@Nullable String@Nullable StringintbooleanisAppend()booleanvoidsetAppend(boolean append) voidsetCustomFormat(@Nullable String customFormat) voidsetEnabled(boolean enabled) voidsetFileDateFormat(@Nullable String fileDateFormat) voidsetFilename(@Nullable String filename) voidvoidsetIgnorePaths(@Nullable List<String> ignorePaths) voidsetRetentionPeriod(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
-