<property name="eclipselink.logging.level" value="FINE"/>
<property name="eclipselink.logging.logger" value="DefaultLogger"/>
On a related note, logging can also be enabled directly in mysql, if that's the underlying database. Here are some notes about doing that:
log in to mysql as root:
-> use mysql;-> SET global log_output = 'table';-> SET GLOBAL general_log = 1;
then you can see the logged statements using:
select * from general_log;
or count the number of sql statements:
select count(*) from general_log;
and clean it up with:
truncate general_log;