Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-10268

Hibernate SQL logging does not show up on confluence 2.6.2 and 2.6.1

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 2.7.1
    • 2.6.1, 2.6.2
    • None
    • Confluence EAR/WAR and standalone
      JDK 1.5

    Description

      hibernate log statements/SQL queries fails to show when the parameter values in log4j.properties file are uncommented.

      ## log hibernate prepared statements/SQL queries (equivalent to setting 'hibernate.show_sql' to 'true')
      log4j.logger.net.sf.hibernate.SQL=DEBUG, confluencelog
      log4j.additivity.net.sf.hibernate.SQL=false
      
      ## log hibernate prepared statement parameter values
      log4j.logger.net.sf.hibernate.type=DEBUG, confluencelog
      log4j.additivity.net.sf.hibernate.type=false
      

      This does not affect 2.7

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rhartono Roy Hartono [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: