[jboss-jira] [JBoss JIRA] Updated: (JBPORTAL-2022) Setting org.hibernate.type logging to debug produces no logging

Martin Putz (JIRA) jira-events at lists.jboss.org
Thu May 22 07:55:59 EDT 2008


     [ http://jira.jboss.com/jira/browse/JBPORTAL-2022?page=all ]

Martin Putz updated JBPORTAL-2022:
----------------------------------

    Description: 
If you would like to trace the SQL statements Hibernate issues to the Portal tables, you would normally set this in conf/jboss-log4j.xml:

<category name="org.hibernate.type">
     <priority value="DEBUG"/>
</category>

<category name="org.hibernate.SQL">
     <priority value="DEBUG"/>
</category>

Due to a Hibernate bug:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-2835
in combination with a specific mix of logging libraries, this does not produce any output.

  was:
If you would like to trace the SQL statements Hibernate issues to the Portal tables, you would normally set this in conf/jboss-log4j.xml:

<category name="org.hibernate.type">
     <priority value="DEBUG"/>
</category>

<category name="org.hibernate.SQL">
     <priority value="DEBUG"/>
</category>

Due to a Hibernate bug (//opensource.atlassian.com/projects/hibernate/browse/HHH-2835) in combination with a specific mix of logging libraries, this does not produce any output.


> Setting org.hibernate.type logging to debug produces no logging
> ---------------------------------------------------------------
>
>                 Key: JBPORTAL-2022
>                 URL: http://jira.jboss.com/jira/browse/JBPORTAL-2022
>             Project: JBoss Portal
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 2.6.5 Final
>            Reporter: Martin Putz
>
> If you would like to trace the SQL statements Hibernate issues to the Portal tables, you would normally set this in conf/jboss-log4j.xml:
> <category name="org.hibernate.type">
>      <priority value="DEBUG"/>
> </category>
> <category name="org.hibernate.SQL">
>      <priority value="DEBUG"/>
> </category>
> Due to a Hibernate bug:
> http://opensource.atlassian.com/projects/hibernate/browse/HHH-2835
> in combination with a specific mix of logging libraries, this does not produce any output.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list