What do you have set for a configuration property? Have you tried
openjpa.Log=commons?

On Tue, Jul 12, 2011 at 12:48 PM, Jason Pyeron <[email protected]> wrote:

> > -----Original Message-----
> > From: Rick Curtis [mailto:[email protected]]
> > Sent: Tuesday, July 12, 2011 12:22
> > To: [email protected]
> > Subject: Re: Logging questions
> >
> > Jason -
> >
> > Sorry about the slow reply, I must have missed this one somehow.
> >
> > > 1. Is it possible to (dynamically) change the logging
> > levels at runtime?
> > No, I don't believe so.
> >
> > > 2. Could someone elaborate more on the usage of java.util.logging by
> > setting to value to "commons"?
> > What more are you looking for?
>
> Hmm.. It does not seem to use j.u.l for logging when set to commons on Sun
> Java
> 1.6 64 bit.
>
> My formatter would output like:
>
> Jul 12, 2011 12:32:10 PM org.apache.coyote.http11.Http11BaseProtocol init
> INFO: Initializing Coyote HTTP/1.1 on http-8080
>
> But I am getting interspersed [double CR added for clarity]:
>
> 3500  localhost  WARN   [main] openjpa.MetaData - Found duplicate generator
> "seq" in "class
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.RecycledVoucherCheckFile".
> Ignoring.
>
>
> Jul 12, 2011 1:43:58 PM
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.TestClaimModels setUp
> FINE: factory created
>
>
> 203  localhost  INFO   [main] openjpa.Runtime - Starting OpenJPA
> 2.1.0-SNAPSHOT
>
>
> 484  localhost  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class
> "org.apache.openjpa.jdbc.sql.OracleDictionary".
>
>
> Jul 12, 2011 1:44:07 PM
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.TestClaimModels setUp
> FINE: em created
>
>
> Jul 12, 2011 1:44:07 PM
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.TestClaimModels
> testListAllObjects
> INFO: class
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.AdditionalErrorInfo:
> before
>
>
> 14078  localhost  TRACE  [main] openjpa.jdbc.SQL - <t ...
>
>
>
>
>
> >
> > On Wed, Jun 29, 2011 at 3:55 PM, Jason Pyeron
> > <[email protected]> wrote:
> >
> > > Using 2.1.x I have 2 questions I was unable to google for an answer
> > > after reading the manual.
> > >
> > > 1. Is it possible to (dynamically) change the logging
> > levels at runtime?
> > >
> > > 2. Could someone elaborate more on the usage of
> > java.util.logging by
> > > setting the value to "commons"?
> > >
> > > -Jason
> > >
> > > --
> > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > > -                                                               -
> > > - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> > > - Principal Consultant              10 West 24th Street #100    -
> > > - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> > > -                                                               -
> > > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > > This message is copyright PD Inc, subject to license 20080407P00.
> > >
> > >
> > >
> >
> >
> > --
> > *Rick Curtis*
> >
>
>
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -                                                               -
> - Jason Pyeron                      PD Inc. http://www.pdinc.us -
> - Principal Consultant              10 West 24th Street #100    -
> - +1 (443) 269-1555 x333            Baltimore, Maryland 21218   -
> -                                                               -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
>
>


-- 
*Rick Curtis*

Reply via email to