[jboss-jira] [JBoss JIRA] Commented: (AS7-1501) Adding logging levels for specific logging categories deosn't seem to work on anything below INFO.
Darran Lofthouse (JIRA)
jira-events at lists.jboss.org
Wed Aug 10 06:35:27 EDT 2011
[ https://issues.jboss.org/browse/AS7-1501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12619935#comment-12619935 ]
Darran Lofthouse commented on AS7-1501:
---------------------------------------
This works for me (Adding TRACE logging at least) - BUT you do need to update the handler as well to allow the messages through.
The root logger already has INFO specified as a level so I wonder if the level could as a minimum be removed from the periodic-rotating-file-handler.
> Adding logging levels for specific logging categories deosn't seem to work on anything below INFO.
> --------------------------------------------------------------------------------------------------
>
> Key: AS7-1501
> URL: https://issues.jboss.org/browse/AS7-1501
> Project: Application Server 7
> Issue Type: Bug
> Components: Logging
> Reporter: James Perkins
> Assignee: James Perkins
> Fix For: 7.1.0.Alpha1
>
>
> Adding a <logger /> to the configuration with a custom logging level of anything below INFO, e.g. TRACE or DEBUG, seems to have no affect.
> The following should log all hibernate messages, but only logs INFO and higher.
> <logger category="org.hibernate">
> <level name="ALL"/>
> </logger>
> The following should only log warning messages, which it does.
> <logger category="org.hibernate">
> <level name="WARN"/>
> </logger>
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list