test-persistence.xmlfile use did not see to provide anything more than
SERVERElevel logging from eclipselink. I had tried setting the property
<property name="eclipselink.logging.logger" value="DefaultLogger"/>
to no avail. I also set this value to
JavaLoggerwithout results. I finally stumbled across an answer while looking into changing the embedded glassfish http port - and that is to use the following value:
<property name="eclipselink.logging.logger" value="org.eclipse.persistence.logging.DefaultSessionLog"/>
This allows me to see the SQL statements (assuming your set the other log values) in both Eclipse and through the maven command line test execution.