Skip to main content

How to get trace debug logging of JavaMail resource in GlassFish

No replies
Joined: 2007-04-01

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?