Excessive Info message on locking row in optimistic transaction
---------------------------------------------------------------

                 Key: OPENJPA-1708
                 URL: https://issues.apache.org/jira/browse/OPENJPA-1708
             Project: OpenJPA
          Issue Type: Improvement
          Components: kernel
    Affects Versions: 1.1.0
            Reporter: Albert Lee
            Assignee: Albert Lee
            Priority: Minor
             Fix For: 2.1.0


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to