openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rick Curtis <curti...@gmail.com>
Subject Re: Quieting the "OpenJPA will not be used" warning message
Date Wed, 19 Jan 2011 17:20:07 GMT
It doesn't appear that there is any way to turn this message off via
configuration. Since OpenJPA isn't configured for use... we don't look at
logging properties that may or may not be set.

On Wed, Jan 19, 2011 at 10:16 AM, Laird Nelson <ljnelson@gmail.com> wrote:

> For a whole host of unimportant reasons, we end up getting this message
> output by OpenJPA 2.0.0:
>
> INFO: Found persistence provider "org.hibernate.ejb.HibernatePersistence".
> OpenJPA will not be used.
>
> (We run unit tests against all the major JPA providers; hence sometimes
> other persistence providers show up.  This is expected, and not a cause for
> concern for us.)
>
> I have logging throttled down for everything in our production build, but I
> cannot stop OpenJPA from spitting out this message.
>
> My logging statement is:
>
> DefaultLevel=ERROR
>
> ...with no further modifications.  This correctly shuts OpenJPA up, but I
> can't silence the message cited above.  Any help is appreciated.
>
> Best,
> Laird
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message