]
James Perkins moved WFLY-2524 to WFCORE-101:
--------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-101 (was: WFLY-2524)
Affects Version/s: (was: 8.0.0.Beta1)
Component/s: Logging
(was: Logging)
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}