[jboss-jira] [JBoss JIRA] (WFLY-3968) access log doesn't support %{r, xxx}
Vsevolod Golovanov (JIRA)
issues at jboss.org
Sat Oct 11 07:33:36 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13010911#comment-13010911 ]
Vsevolod Golovanov commented on WFLY-3968:
------------------------------------------
The workaround works, thanks.
> access log doesn't support %{r,xxx}
> -----------------------------------
>
> Key: WFLY-3968
> URL: https://issues.jboss.org/browse/WFLY-3968
> Project: WildFly
> Issue Type: Bug
> Components: Web (Undertow)
> Affects Versions: 8.1.0.Final, 9.0.0.Alpha1
> Environment: Wildfly 8.1.0.Final
> Reporter: Vsevolod Golovanov
> Assignee: Stuart Douglas
>
> AccessLogHandler's javadoc mentions:
> {quote}
> {{%\{r,xxx\}}} xxx is an attribute in the ServletRequest
> {quote}
> But adding the following to access log pattern
> {code}
> %{r,javax.servlet.error.status_code}
> {code}
> results in a server log message:
> {code}
> 19:55:55,432 ERROR [undertow] (MSC service thread 1-6) UT005017: Unknown variable %{r,javax.servlet.error.status_code}
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list