[ https://issues.apache.org/jira/browse/OPENJPA-1258?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12983777#action_12983777 ]
Laird Nelson commented on OPENJPA-1258: --------------------------------------- Is there any way to disable this message? It does not appear to go through the usual OpenJPA logging channels, which makes a certain amount of sense, since after all OpenJPA is not going to be used. :-) But what can I do to quiet this down? > make warning message more friendly when other persistence provider configured > by application > -------------------------------------------------------------------------------------------- > > Key: OPENJPA-1258 > URL: https://issues.apache.org/jira/browse/OPENJPA-1258 > Project: OpenJPA > Issue Type: Improvement > Components: logging > Affects Versions: 1.1.0 > Environment: Windows XP > java version "1.5.0_14" > Reporter: Amy Yang > Priority: Minor > Fix For: 1.1.1, 1.3.0, 2.0.0-beta > > Attachments: OPENJPA1258.patch, OPENJPA1258_trunk.patch > > > When application configures other persistence provider rather than openjpa, > there will be a warning message printed out: > WARNING: Found unrecognized persistence provider > "org.eclipse.persistence.jpa.PersistenceProvider" in place of OpenJPA > provider. This provider's properties will not be used. > It is legal that other persistence provider be configured. The message > doesn't look friendly and might be confusing. > I change the message like: > INFO: Found persistence provider > "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.