[jboss-jira] [JBoss JIRA] (WFLY-2524) logging-profile works for a servlet, but doesn't for a JSP

Osamu Nagano (JIRA) jira-events at lists.jboss.org
Sun Nov 17 21:12:05 EST 2013


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

Osamu Nagano commented on WFLY-2524:
------------------------------------

Similar issue, but not sure if it is the same.
                
> logging-profile works for a servlet, but doesn't for a JSP
> ----------------------------------------------------------
>
>                 Key: WFLY-2524
>                 URL: https://issues.jboss.org/browse/WFLY-2524
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Logging
>    Affects Versions: 8.0.0.Beta1
>            Reporter: Osamu Nagano
>            Assignee: James Perkins
>         Attachments: logone.zip
>
>
> Suppose the following logging-profile has been set in logging subsystem, and a web app has a proper entry in its MANIFEST.MF ({{Logging-Profile: logone}}).  Then all messages via "com.example.logone" logger should go into a file, logone.log.  It does so with a logger got in a servlet, but it doesn't work a logger got in a JSP.
> {code}
>             <logging-profiles>
>                 <logging-profile name="logone">
>                     <file-handler name="logone">
>                         <level name="INFO"/>
>                         <file relative-to="jboss.server.log.dir" path="logone.log"/>
>                     </file-handler>
>                     <logger category="com.example.logone">
>                         <level name="INFO"/>
>                     </logger>
>                     <root-logger>
>                         <level name="INFO"/>
>                         <handlers>
>                             <handler name="logone"/>
>                         </handlers>
>                     </root-logger>
>                 </logging-profile>
>             </logging-profiles>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list