Skip to content

Enable javax.mail logging from watcher #101167

Open
@masseyke

Description

@masseyke

Description

Javax.mail and com.sun.mail.smtp log to stdout, but only if there is a mail.debug property set to true when the javax.mail.Session is created. As far as I can tell, watcher does not provide a way to set this property so you cannot turn on verbose logging for the email library used within watcher. Here is where we create the properties that we send to the Session. And here is where the Session reads that property to enable debug logging. You can see more at https://javaee.github.io/javamail/docs/api/javax/mail/package-summary.html.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions