Hi, If you want the bare minimum of messages to be logged you can specify <property name="openjpa.Log" value="DefaultLevel=FATAL"/>
Unfortunately there's still the potential for some messages to be logged, but you can redirect the output to a file which might be a little cleaner : <property name="openjpa.Log" value=DefaultLevel=FATAL,File=/tmp/openjpa.log"/> Hope this helps, -Mike On Sun, Apr 20, 2008 at 7:20 PM, Web Master <[EMAIL PROTECTED]> wrote: > I've had a great experience with OpenJPA thus far, until I went to prepare > the app for a deployment to Production. For some reason, I cannot find a > way to stop trace level output to the console/stdout. Unfortunately, even > setting the openjpa.Log property to "none" had no effect. Anybody seen > this > before? Below is my persistence.xml file > > > > <persistence xmlns="http://java.sun.com/xml/ns/persistence" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://java.sun.com/xml/ns/persistence > > http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" > version="1.0"> > > <persistence-unit name="brandDashboard" > transaction-type="RESOURCE_LOCAL"> > > > <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> > <class>com.myclass.Announcement</class> > <exclude-unlisted-classes>true</exclude-unlisted-classes> > <properties> > <property name="openjpa.jdbc.DBDictionary" value="oracle"/> > <property name="openjpa.jdbc.SynchronizeMappings" > > value="buildSchema(SchemaAction='add,deleteTableContents')"/> > <property name="openjpa.Log" value="none"/> > > </properties> > </persistence-unit> > > > <persistence-unit name="abbottSites" transaction-type="RESOURCE_LOCAL"> > > > <provider>org.apache.openjpa.persistence.PersistenceProviderImpl</provider> > <class>com.myclass.Country</class> > <exclude-unlisted-classes>true</exclude-unlisted-classes> > > <properties> > <property name="openjpa.jdbc.DBDictionary" value="oracle"/> > <property name="openjpa.Log" value="none"/> > > </properties> > </persistence-unit> > > </persistence> >