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

    • Enhancement
    • Resolution: Done
    • Major
    • EAP_EWP 5.1.1
    • None
    • Hibernate
    • None
    • Release Notes
    • 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>.
    • Documented as Resolved Issue

    Attachments

      Activity

        People

          shaozliu Strong Liu(刘少壮) (Inactive)
          shaozliu Strong Liu(刘少壮) (Inactive)
          Misty Stanley-Jones Misty Stanley-Jones (Inactive)
          Votes:
          0 Vote for this issue
          Watchers:
          2 Start watching this issue

          Dates

            Created:
            Updated:
            Resolved: