OpenJPA
  1. OpenJPA
  2. OPENJPA-1708

Excessive Info message on locking row in optimistic transaction

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 2.1.0
    • Component/s: kernel
    • Labels:
      None

      Description

      The following info message is logged repeatedly by default (INFO log level)

      2532162 **** INFO openjpa.Runtime - Though you are using optimistic transactions, OpenJPA is now beginning a datastore transaction because you have
      requested a lock on some data.

      Should turn this message into a TRACE entry and only log when need/request.

      Also, the manual has documented the incorrect log levels supported by OpenJPA:

      • DefaultLevel: The default logging level of unconfigured channels. Recognized values are TRACE, DEBUG, INFO, WARN, and ERROR. Defaults to INFO.

      DEBUG is deprecated and FATAL level is missing.

      Albert Lee.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Albert Lee
            Reporter:
            Albert Lee
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development