Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipselink-users] EclipseLink logging integration in GlassFish 3.1.2.2

Hi Laird,

  Our base logger namespace is org.eclipse.persistence.

To change logging for EclipseLink as a whole, use that name. We also provide a org.eclipse.persistence.session for more fine grained control of session-related log messages. You should be able to see settings for both of these in a default glassfish config if you list-log-levels in asadmin.

-Tom

On 30/08/2012 2:36 PM, Laird Nelson wrote:
I've read http://wiki.eclipse.org/EclipseLink/Examples/JPA/Logging.

I have this in my persistence.xml:

    <property name="eclipselink.logging.logger" value="ServerLogger"/>


I am assuming that EclipseLink-as-part-of-GlassFish automatically sets the
correct server platform for me, so I do NOT have:

    <property name="eclipselink.target-server" value="SunAS9"/>


Nor do I have (any case-sensitive variation on):

    <property name="eclipselink.target-server" value="GlassFish"/>


Nor do I have any variation on:

    <property name="eclipselink.logging.level" value="FINE"/>


...though that is what I WOULD have if I were interested in using the default
logger.  Instead, I want to configure EclipseLink's logging (like every other
component of GlassFish) through GlassFish's
$GLASSFISH_HOME/glassfish/domains/mydomain/config/logging.propertiesfile in the
standard java.util.loggingfashion.

What are the java.util.logging (since that's what GlassFish uses internally)
logger names I should use?

Best,
Laird
--
http://about.me/lairdnelson



_______________________________________________
eclipselink-users mailing list
eclipselink-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/eclipselink-users


Back to the top