[jboss-jira] [JBoss JIRA] (AS7-4953) Extended Access Log doesn't work if you don't provide patteren

Tomaz Cerar (JIRA) jira-events at lists.jboss.org
Wed Jun 6 07:33:18 EDT 2012


    [ https://issues.jboss.org/browse/AS7-4953?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699301#comment-12699301 ] 

Tomaz Cerar commented on AS7-4953:
----------------------------------

Another workaround would also be to define pattern manually this way it would work.

@Remy I think we should fix it in a way to have reasonable defaults for extended access log in case not set explicitly as now we just set "common" as default regardless of type of access log.
                
> Extended Access Log doesn't work if you don't provide patteren
> --------------------------------------------------------------
>
>                 Key: AS7-4953
>                 URL: https://issues.jboss.org/browse/AS7-4953
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Web
>    Affects Versions: 7.1.1.Final
>         Environment: Java 1.7.04
> Windows 7 x64
>            Reporter: Tomaz Zupan
>            Assignee: Remy Maucherat
>              Labels: access, extended, log, web
>
> If in configuration file in subsystem=urn:jboss:domain:web:1.1 / virtual-server section you add:
> {code:xml}    
> <access-log extended="true">
>   <directory path="logs" relative-to="something"/>
> </access-log>
> {code}
> there is the following error in console when JBoss is started:
> {code}09:51:00,713 ERROR [org.apache.catalina.valves.ExtendedAccessLogValve] unable to decode with rest of chars starting: %h{code}
> and access logging doesn't work.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list