]
RH Bugzilla Integration commented on WFCORE-101:
------------------------------------------------
Nikoleta Ziakova <nziakova(a)redhat.com> changed the Status of [bug
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
Fix For: 1.0.0.Alpha9
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}