Polishing
This commit is contained in:
parent
54a3ce8827
commit
81275887e4
|
@ -412,9 +412,11 @@ public class UndertowEmbeddedServletContainerFactory
|
|||
private AccessLogHandler createAccessLogHandler(HttpHandler handler) {
|
||||
try {
|
||||
createAccessLogDirectoryIfNecessary();
|
||||
String prefix = (this.accessLogPrefix != null ? this.accessLogPrefix : "access_log.");
|
||||
String prefix = (this.accessLogPrefix != null ? this.accessLogPrefix
|
||||
: "access_log.");
|
||||
AccessLogReceiver accessLogReceiver = new DefaultAccessLogReceiver(
|
||||
createWorker(), this.accessLogDirectory, prefix, this.accessLogSuffix);
|
||||
createWorker(), this.accessLogDirectory, prefix,
|
||||
this.accessLogSuffix);
|
||||
String formatString = (this.accessLogPattern != null) ? this.accessLogPattern
|
||||
: "common";
|
||||
return new AccessLogHandler(handler, accessLogReceiver, formatString,
|
||||
|
|
Loading…
Reference in New Issue