[
https://issues.jboss.org/browse/WFLY-4319?page=com.atlassian.jira.plugin....
]
Vsevolod Golovanov commented on WFLY-4319:
------------------------------------------
{noformat}
<subsystem xmlns="urn:jboss:domain:undertow:1.2"
statistics-enabled="true">
<buffer-cache name="default"/>
<server name="default-server">
<http-listener name="default" socket-binding="http"
max-post-size="104857600" record-request-start-time="true" />
<host name="default-host" alias="localhost">
<location name="/" handler="welcome-content"/>
<filter-ref name="ie-disable-compatibility-header"/>
<filter-ref name="gzipFilter"
predicate="regex[pattern='(?:application/javascript|text/css)(;.*)?',
value=%{o,Content-Type}, full-match=true]"/>
<access-log pattern="[%t] %a %{i,X-Forwarded-For} %u [%I] %{c,JSESSIONID} %m
%U?%q %H %s %{r,javax.servlet.error.status_code} %b %D %{i,Referer}
"%{i,User-Agent}"" prefix="access"
rotate="true"/>
</host>
</server>
<servlet-container name="default">
<jsp-config/>
<websockets/>
</servlet-container>
<handlers>
<file name="welcome-content"
path="${jboss.home.dir}/welcome-content"/>
</handlers>
<filters>
<response-header name="ie-disable-compatibility-header"
header-name="X-UA-Compatible" header-value="IE=edge"/>
<gzip name="gzipFilter"/>
</filters>
</subsystem>
{noformat}
access log doesn't get rotated if the server wasn't running
at midnight
-----------------------------------------------------------------------
Key: WFLY-4319
URL:
https://issues.jboss.org/browse/WFLY-4319
Project: WildFly
Issue Type: Bug
Components: Web (Undertow)
Affects Versions: 8.2.0.Final
Environment: Wildfly 8.2.0.Final
Reporter: Vsevolod Golovanov
Assignee: Tomaz Cerar
1. Day 1.
2. Start the server.
3. Make a request.
4. Stop the server.
5. Day 2.
6. Repeat 2-3.
7. Observe access.log containing requests from both Day 1 and Day 2.
JBoss Web correctly rotates its access log in this case.
Wildfly correctly rotates its server.log in the same circumstances.
Undertow should too.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)