Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4DE45640D for ; Tue, 12 Jul 2011 18:35:06 +0000 (UTC) Received: (qmail 64941 invoked by uid 500); 12 Jul 2011 18:35:06 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 64804 invoked by uid 500); 12 Jul 2011 18:35:05 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 64533 invoked by uid 99); 12 Jul 2011 18:35:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 18:35:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [67.90.184.26] (HELO mail.pdinc.us) (67.90.184.26) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 18:34:56 +0000 Received: from black ([170.22.76.10]) (authenticated bits=0) by mail.pdinc.us (8.12.11.20060308/8.12.11) with ESMTP id p6CIYmp9020199 for ; Tue, 12 Jul 2011 14:34:49 -0400 From: "Jason Pyeron" To: References: <5FC32F31937B4424A217B54BA34EC0CE@black><17DA07E5DB844A7DA8C8B5DFA3CE84A7@black> Subject: RE: Logging questions Date: Tue, 12 Jul 2011 14:36:36 -0400 Organization: PD Inc Message-ID: <08CF203A2A7E4A07B94CC4679028E079@black> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4862 Thread-Index: AcxAvagX8yOGQn2RQVqSJ0oKU0xWOAABHyKg In-Reply-To: X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Rick Curtis [mailto:curtisr7@gmail.com] > Sent: Tuesday, July 12, 2011 14:00 > To: users@openjpa.apache.org > Subject: Re: Logging questions > > What do you have set for a configuration property? Have you > tried openjpa.Log=commons? Also worth noting, it burps out at the very start: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details. log4j:WARN No appenders could be found for logger (openjpa.Runtime). log4j:WARN Please initialize the log4j system properly. > > On Tue, Jul 12, 2011 at 12:48 PM, Jason Pyeron > wrote: > > > > -----Original Message----- > > > From: Rick Curtis [mailto:curtisr7@gmail.com] > > > Sent: Tuesday, July 12, 2011 12:22 > > > To: users@openjpa.apache.org > > > 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 - > > > > > > > > > > > > > > > On Wed, Jun 29, 2011 at 3:55 PM, Jason Pyeron > > > 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.