Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5817

HHH-5843 Avoid useless branches during HQL parsing when trace logging is disabled

    XMLWordPrintable

    Details

    • Affects:
      Release Notes
    • Release Notes Text:
      Hide
      Many well-formatted and indented Strings were built up for each element of a parsed HQL string, for each tree node. The purpose was to feed invocations of <code>log.trace()</code>. The information was added to the log regardless of the log level. This caused extra output and larger log files. Hibernate now checks the log level, and only includes the formatted output when the log level is <literal>TRACE</literal>.
      Show
      Many well-formatted and indented Strings were built up for each element of a parsed HQL string, for each tree node. The purpose was to feed invocations of <code>log.trace()</code>. The information was added to the log regardless of the log level. This caused extra output and larger log files. Hibernate now checks the log level, and only includes the formatted output when the log level is <literal>TRACE</literal>.
    • Release Notes Docs Status:
      Documented as Resolved Issue

      Gliffy Diagrams

        Attachments

          Activity

            People

            • Assignee:
              stliu Strong Liu
              Reporter:
              stliu Strong Liu
              Writer:
              Misty Stanley-Jones
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: