Fix undertow access_log file name
Undertow 1.3.2 changed the default access log file suffix from '.log' to just 'log'. Thus we need to adapt the file name pattern to include the missing dot. Closes gh-4670
This commit is contained in:
parent
1e9d4a22c2
commit
e233ea7f54
|
|
@ -384,7 +384,7 @@ public class UndertowEmbeddedServletContainerFactory
|
|||
try {
|
||||
createAccessLogDirectoryIfNecessary();
|
||||
AccessLogReceiver accessLogReceiver = new DefaultAccessLogReceiver(
|
||||
createWorker(), this.accessLogDirectory, "access_log");
|
||||
createWorker(), this.accessLogDirectory, "access_log.");
|
||||
String formatString = (this.accessLogPattern != null) ? this.accessLogPattern
|
||||
: "common";
|
||||
return new AccessLogHandler(handler, accessLogReceiver, formatString,
|
||||
|
|
|
|||
Loading…
Reference in New Issue