[jboss-jira] [JBoss JIRA] (WFCORE-101) logging-profile works for a servlet, but doesn't for a JSP
RH Bugzilla Integration (JIRA)
issues at jboss.org
Wed Sep 17 15:38:03 EDT 2014
[ https://issues.jboss.org/browse/WFCORE-101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13003637#comment-13003637 ]
RH Bugzilla Integration commented on WFCORE-101:
------------------------------------------------
Kabir Khan <kkhan at redhat.com> changed the Status of [bug 1031448|https://bugzilla.redhat.com/show_bug.cgi?id=1031448] from POST to MODIFIED
> logging-profile works for a servlet, but doesn't for a JSP
> ----------------------------------------------------------
>
> Key: WFCORE-101
> URL: https://issues.jboss.org/browse/WFCORE-101
> Project: WildFly Core
> Issue Type: Bug
> Components: Logging
> 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 was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list