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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 2.7.1
    • Affects Version/s: 2.6.1, 2.6.2
    • Component/s: None
    • Environment:

      Confluence EAR/WAR and standalone
      JDK 1.5

      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

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

                Created:
                Updated:
                Resolved: