persistence.xml contain line that specifies log file for SQL related messages
< property name="eclipselink.logging.file" value="${project.settings.jdbc.eclipselink.logger.file}" />
During deployment, the file must exist - otherwise deployment failed
But the messages are written to a Glassfish log file, not in the specified file