Skip to content
Discussion options

You must be logged in to vote

Hi, @diegosilval,

I'm pretty sure that when using EclipseLink in GlassFish, you don't need to modify the persistence.xml file to change logging. It should be enough to set FINE or lower logging level for the eclipselink logger in GlassFish. The logger name is I think "org.eclipse.persistence.session".
You have to set the logger level in GlassFish because EclipseLink logs using GlassFish's log manager.

Note that in GlassFish, log levels lower than INFO are only logged to server.log file, not to console. If you want them logged also in console (if running GlassFish in foreground or in Docker container), you should set the log level of org.glassfish.main.jul.handler.SimpleLogHandler to the l…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by diegosilval
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants