How to get trace debug logging of JavaMail resource in GlassFish
I need to see the raw communication with a mail server. I checked the "Debug" checkbox in the JavaMail resource, and went to the Logger Settings screen to set the log level of javax.enterprise.resource.javamail to FINEST. I also checked the "write to system log" checkbox to enable it. Then I restarted GlassFish and there are no trace debug logs. Is there a special logger name for JavaMail resources?