You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by Jean-Baptiste BRIAUD -- Novlog <j-...@novlog.com> on 2011/03/24 16:55:05 UTC
How to enable schema log ?
Hi,
I got this in an error message :
Enable the org.apache.openjpa.jdbc.Schema logging category to see messages about schema data.
I can't find what to add in the persistence.xml if it is there something should be added...
I already added the following line but I feel it is something else :
<property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO, SQL=TRACE"/>
Is it linked ?
How to enable that schema logging ?
Thanks !
Re: How to enable schema log ?
Posted by Jean-Baptiste BRIAUD -- Novlog <j-...@novlog.com>.
It works fine.
Thanks !
On 24 mars 2011, at 17:24, Michael Dick wrote:
> I think this will work
> <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO, SQL=TRACE,
> Schema=TRACE "/>
>
> I suspect it's case sensitive but haven't tried it out.
>
> -mike
>
> On Thu, Mar 24, 2011 at 10:55 AM, Jean-Baptiste BRIAUD -- Novlog <
> j-b.briaud@novlog.com> wrote:
>
>> Hi,
>>
>> I got this in an error message :
>> Enable the org.apache.openjpa.jdbc.Schema logging category to see messages
>> about schema data.
>>
>> I can't find what to add in the persistence.xml if it is there something
>> should be added...
>>
>> I already added the following line but I feel it is something else :
>> <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO,
>> SQL=TRACE"/>
>>
>> Is it linked ?
>>
>> How to enable that schema logging ?
>>
>> Thanks !
>>
>>
Re: How to enable schema log ?
Posted by Michael Dick <mi...@gmail.com>.
I think this will work
<property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO, SQL=TRACE,
Schema=TRACE "/>
I suspect it's case sensitive but haven't tried it out.
-mike
On Thu, Mar 24, 2011 at 10:55 AM, Jean-Baptiste BRIAUD -- Novlog <
j-b.briaud@novlog.com> wrote:
> Hi,
>
> I got this in an error message :
> Enable the org.apache.openjpa.jdbc.Schema logging category to see messages
> about schema data.
>
> I can't find what to add in the persistence.xml if it is there something
> should be added...
>
> I already added the following line but I feel it is something else :
> <property name="openjpa.Log" value="DefaultLevel=WARN, Tool=INFO,
> SQL=TRACE"/>
>
> Is it linked ?
>
> How to enable that schema logging ?
>
> Thanks !
>
>