Polishing
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user