Uploaded image for project: 'OpenJPA'
  1. OpenJPA
  2. OPENJPA-1708

Excessive Info message on locking row in optimistic transaction

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 2.1.0
    • kernel
    • 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.

      Attachments

        Activity

          People

            allee8285 Albert Lee
            allee8285 Albert Lee
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: