Commit e233ea7f authored by Sebastian Hoß's avatar Sebastian Hoß Committed by Andy Wilkinson

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
parent 1e9d4a22
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment